Guten Tag,
Ich finde den Error bei meinen Stats System nicht
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
new name[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, name, sizeof(name));
format(string,sizeof(string),"Name: %s\nLevel: %d\nBargeld: %s\n",playerid,GetPlayerScore(playerid),GetPlayerMoney(playerid);
ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,"Stats",string,"Ok","Abbrechen");
return 1;
}
return 1;
}
C:\Users\Alex\Desktop\Neuer Ordner\gamemodes\Selfmade.pwn(148) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.