Search Results
this seemed to compile for me: pawn Код: #include <a_samp>#define FILTERSCRIPTnew vienasTickCount;new wincashTimer;new duTickCount;new wincashTimer2;public OnPlayerStateChange(playerid, new...
142
ok. this should work pawn Код: #include <a_samp>#define FILTERSCRIPTnew vienasTickCount;new wincashTimer;new wincashTimer2;new duTickCount;public OnPlayerStateChange(playerid, newstate, old...
142
you used the same function twice. instead just use pawn Код: #include <a_samp>#define FILTERSCRIPTnew vienasTickCount;new wincashTimer;new duTickCount;new wincashTimer;public OnPlayerStateC...
142
no, there is no limit to array lengths. i have 400 because of longer strings, but i guess you could have it as something more like 200. pawn Код: #if !defined FMsgnew stock FMsg[200];#endif#define...
127
maybe somewhere above where you had it, it returned 1 and stopped the script
112
try puting TextDrawHideForPlayer(playerid, TDNews1); at the top of OnPlayerSpawn.
112
Quote: Originally Posted by ddnbb Does anyone know, if its possible to make: SendLocalMessage(playerid, range, string[], format) like SendLocalMessage(playerid, 20.0, "%s is stupid", playe...
127
do you have anywhere else in your script that gives/takes money? and if so, does IT work?
139
Quote: Originally Posted by Sandiel There's the OnPlayerClickPlayer... this is only for if you click a players name while pressing tab. if thats what you wanted, then use OnPlayerClickP...
94
if you have the callback "OnPlayerText(playerid,text[])" then in there. otherwise, add pawn Код: public OnPlayerText(playerid, text[]){    ReColor(text);    return 1;} you can put the functio...
96
the problem was it stopped the script( return 1; ) the first time it went through the loop. pawn Код: stock SendLocalMessage(playerid, range, string[]){    new Float:proxX, Float:proxY, Float:pr...
127
this was made by Y-Less. put this above OnPlayerText pawn Код: ReColor(text[]){    new        pos = -1;    while ((pos = strfind(text, "(", false, pos + 1)) != -1)    {        new ...
96
try this: pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {     if(dialogid == 3300)//our dialog!     {         if(response == 1)// They pressed the ...
139
you forgot to add the "CallLocalFunction": pawn Код: public OnPlayerConnect(playerid){    PlayerPauseInfo[playerid][Paused] = false;    PlayerPauseInfo[playerid][Timer] = SetTimerEx("CheckPaus...
56
you would need to do it like this" pawn Код: CMD:give(playerid,params[]){    if(!strcmp(params,"cash ",true,5))//5 is the length of "cash "    {        new ID,amount;        if(sscanf...
134
ok. add this to OnDialogResponse after Switch(dialogid) pawn Код: case DIALOG_REG:    {    if(response)    {    if(!INI_Exists(string))    {        format(dialog, sizeof(dialog),""CO...
142
what is the "if" statement before this? ex. if(...) pawn Код: else    {        format(dialog, sizeof(dialog),""COL_BLUE"Welcome back, %s!\n\nInsert a password of your account\nand login.", G...
142
you put a '}' before the next dialog so it wasn't in OnDialogResponse. pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){    if(response)// They pressed the ...
71
replace #define DIALOG_LOG 16 with #define DIALOG_LOG 1236
142