stock GetName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
return name;
}
CMD:vanepizza(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(JatekosInfo[Pizza] == 1)
{
new string[128];
format(string, sizeof(string), \"%s-nak/nek van %d pizzája\", GetName(i), JatekosInfo[Pizza]);
SendClientMessage(playerid, -1, string);
}
}
return 1;
}