26.09.2010, 20:35
https://sampwiki.blast.hk/wiki/GetPlayerSkin
Use this in an if condition just after your command if condition:
Use this in an if condition just after your command if condition:
pawn Код:
if(strcmp(...)) //Your oygate command
{
if(GetPlayerSkin(playerid) != the_skin_id_that_is_allowed_to_open) return 1; //ends the command here
//your further normal gate code
...
}