Add this to your gamemode:
pawn Код:
stock GetPlayerNameEx(playerid)
{
new pName[25];
GetPlayerName(playerid, pName, sizeof(pName));
return pName;
}
and replace:
GetPlayerName(playerid, name, sizeof(name)) with GetPlayerNameEx(playerid) and you're good to go!