//stats
if(!strcmp(strget(cmdtext,0),"/stats"))
{
if(!strlen(strget(cmdtext,1)))
return
SendClientMessage(playerid,COLOR_FADE4,"Use: /stats");
new eins;
new zwei[MAX_PLAYER_NAME];
new string[256];
GetPlayerScore(playerid,eins,sizeof(eins));
GetPlayerName(playerid,zwei,sizeof(zwei));
format(string, sizeof(string), "**Account** Name: %s Deaths: %s", zwei, eins);
SendClientMessage(playerid,COLOR_FADE5, string);
return 1;
}
Errors:
gamemodes\BJ.pwn(5184) : warning 202: number of arguments does not match definition
gamemodes\BJ.pwn(5184) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Zeile 5184:
GetPlayerScore(playerid,eins,sizeof(eins));
könnt ihr mir helfen?