Posts: 1,032
Threads: 2
Joined: Dec 2008
Quote:
Originally Posted by EmilLykke
I found out what the error was. This fixed it.
pawn Код:
if(skinid == 240) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); if(strcmp(name,"Oliver_Jackson",true)) return SendClientMessage(playerid, RED, "This skin is restricted to Oliver Jackson ONLY."); }
|
No, you didn't, -> !GetPlayerName(playerid, "Oliver_Jackson") <- it's nothing...