07.05.2013, 11:22
Try using this function: GetPlayerName(playerid, name, sizeof(name));
So somthing like this:
So somthing like this:
pawn Код:
if(GetPlayerName(playerid, name, sizeof(name) != "David_Johnson" || "Melinda_Washington")//You might need to format these names; I haven't tested this code yet...
{
GameTextForPlayer(playerid, "~r~Access Denied!", 3500, 4);
return 1;
}