03.05.2012, 08:08
For pilot you need to make a team for it like :gTeam[playerid]=TEAM_PILOT;
Then if player enters plane make:
Then if player enters plane make:
Код:
if(gTeam[playerid]!=TEAM_PILOT) { SendClientMessage(playerid,COLOR_RED,"Only pilots can fly in a plane!"); return 1; }