CMD:stats(playerid,params[])
{
new str[128],gName[MAX_PLAYER_NAME];
GetPlayerName(playerid,gName,sizeof(gName));
format(str,sizeof(str),""embed_green"Player Stats from "embed_white"%s \n\n\n\n\
"embed_green"Score: "embed_white"%d\n\
"embed_green"Deaths: "embed_white"%d\n\
"embed_green"Kills: "embed_white"%d",
gName,
GetPlayerScore(playerid),
Deaths[playerid],
Kills[playerid],
SPD(playerid,Dialog:Stats,BOX,""embed_white"Player Stats",str,"Ok","");
return 1;
}
H:\samp03dsvr_win32(1)\filterscripts\DP.pwn(930 -- 935) : error 001: expected token: ",", but found ";" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Kills[playerid]);
the SPD is ShowPlayerDialog, right? you forgot to close this line:
pawn Код:
|