Got some error,i cannot resolve.
#1

pawn Код:
error 001: expected token: ";", but found "-identifier-"
Error ^

Line:
pawn Код:
SendAdminMessage(COLOR_GREEN, szMessage);
Reply
#2

Post your SendAdminMessage stock here.
Reply
#3

pawn Код:
format(string, sizeof(string), "AdminCMD: %s has received a jetpack from %s", GetPlayerName(plo), GetPlayerName(playerid));
And i get -
pawn Код:
Warning 202: Number of arguments mismatch with the definition.
Reply
#4

Try this.

pawn Код:
new pname[24];
GetPlayerName(playerid, pname, 24);
format(string, sizeof(string), "AdminCMD: %s has received a jetpack from %s", pname, GetPlayerName(playerid));
Reply
#5

pawn Код:
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : warning 215: expression has no effect
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : error 001: expected token: ";", but found "-string-"
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : warning 215: expression has no effect
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(213) : fatal error 107: too many error messages on one line
Errors ^

Line:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Enter Your Password You Registered With!","Login","Quit");
    }
I don't see wrong,but it gives me 4 errors.
Reply
#6

pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Enter Your Password You Registered With!","Login","Quit");
Reply
#7

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Enter Your Password You Registered With!","Login","Quit");
}
I still get 4 errors.
Reply
#8

Quote:
Originally Posted by Strech
Посмотреть сообщение
I still get 4 errors.
Edited. Check post #6.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)