08.12.2013, 22:50
pawn Код:
if(id == 240 && !GetPlayerName(playerid, "Oliver_Jackson"))return SendClientMessage(playerid, RED, "This skin is restricted to Oliver Jackson ONLY.");
if(id == 240 && !GetPlayerName(playerid, "Oliver_Jackson"))return SendClientMessage(playerid, RED, "This skin is restricted to Oliver Jackson ONLY.");
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.");
}
I found out what the error was. This fixed it.
pawn Код:
|