25.04.2012, 15:13
This is the command:
How i can make it show a msg box when i use it,the second PAWNOCODE on the first page is using msgbox items but it has no effect...
pawn Code:
if (strcmp(cmd, "/stats", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
ShowStats(playerid,playerid);
OnPlayerUpdateSafe(playerid);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not logged in!");
}
}
return 1;
}