10.10.2011, 17:25
Try this:
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 294)
{
if(IsPlayerAdmin(playerid))
{
SpawnPlayer(playerid); // not sure if this is needed or not
SetPlayerSkin(playerid,294);
GivePlayerWeapon(playerid,38,999999);
return 1;
}
else
{
SendClientMessage(playerid,-1,"You Must Be Logged In As An RCON Admin To Use This Skin.");
return 0;
}
}
return 1;
}