Jump to content
  • 0

unde pot baga codul asta??


secret2010

Question

[pawn]// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

public OnFilterScriptExit()

{

public OnPlayerCommandText(playerid, cmdtext[]) {

if (strcmp(cmdtext, "/ajutoare", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "Daca ati gasit un bug/hacker face-ti un raport tastand: /raport:");

SendClientMessage(playerid, 0xFFFFFFAA, "tastatii: /comenzi pentru a vedea toate comenzile de pleyer.");

return 1;}

if (strcmp(cmdtext, "/creatori", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "OWN----[CHK]rObErT--------");

return 1;}

if (strcmp(cmdtext, "/comenzi", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "---Lista de Comenzi:---");

SendClientMessage(playerid, 0xFFFFFFAA, "comenzi cont: /login /registrare /status /schimba parola ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /mainilesus /telefon /telefon0 /beat /bomba /arestat /rade ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "/salut /fund /traficant de droguri /Murind de fisurilor /fumeaza fumeazaF /stai /[censured by the system] /chat /taichi /danseaza /bea /animlist2 /animlist ");

SendClientMessage(playerid, 0xFFFFFFAA, "Alte comenzi: /teleportari");

return 1;}

#endif[/pawn]

Unde trebuie bagat? ca ma chinui de dimineata:S

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Pui sub public OnPlayerCommandText asta

if (strcmp(cmdtext, "/ajutoare", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "Daca ati gasit un bug/hacker face-ti un raport tastand: /raport:");

SendClientMessage(playerid, 0xFFFFFFAA, "tastatii: /comenzi pentru a vedea toate comenzile de pleyer.");

return 1;}

if (strcmp(cmdtext, "/creatori", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "OWN----[CHK]rObErT--------");

return 1;}

if (strcmp(cmdtext, "/comenzi", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "---Lista de Comenzi:---");

SendClientMessage(playerid, 0xFFFFFFAA, "comenzi cont: /login /registrare /status /schimba parola ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /mainilesus /telefon /telefon0 /beat /bomba /arestat /rade ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "/salut /fund /traficant de droguri /Murind de fisurilor /fumeaza fumeazaF /stai /[censured by the system] /chat /taichi /danseaza /bea /animlist2 /animlist ");

SendClientMessage(playerid, 0xFFFFFFAA, "Alte comenzi: /teleportari");

return 1;}

gXvsYS
Link to comment
Share on other sites

Pui sub public OnPlayerCommandText asta

pff imi da o erroare :'C:\Users\Jani\Desktop\SA-MP\filterscripts\help.pwn(1) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

dar trebuie bagat in Game Mode,sau in FIlescript?

Link to comment
Share on other sites

[pawn]

public OnPlayerCommandText(playerid, cmdtext[])

{

if (strcmp(cmdtext, "/ajutoare", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "Daca ati gasit un bug/hacker face-ti un raport tastand: /raport:");

SendClientMessage(playerid, 0xFFFFFFAA, "tastatii: /comenzi pentru a vedea toate comenzile de pleyer.");

return 1;

}

if (strcmp(cmdtext, "/creatori", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "OWN----[CHK]rObErT--------");

return 1;

}

if (strcmp(cmdtext, "/comenzi", true)==0){

SendClientMessage(playerid, 0x33AA33AA, "---Lista de Comenzi:---");

SendClientMessage(playerid, 0xFFFFFFAA, "comenzi cont: /login /registrare /status /schimba parola ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /mainilesus /telefon /telefon0 /beat /bomba /arestat /rade ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "Comenzii Animatii: /priveste /spargator /cu bratele încrucisate /vomitat /acoperire /gandeste /mananca ");

SendClientMessage(playerid, 0xFFFFFFAA, "/salut /fund /traficant de droguri /Murind de fisurilor /fumeaza fumeazaF /stai /[censured by the system] /chat /taichi /danseaza /bea /animlist2 /animlist ");

SendClientMessage(playerid, 0xFFFFFFAA, "Alte comenzi: /teleportari");

return 1;

}

return 0;

}[/pawn]

Sxadmin 10%

Dance_troll_dance.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.