17.12.2010, 22:01
If you are thinking of skins, add this to top of script
and this code under your dcmd_p
if you were thinking of teams, this to top of script
and this to dcmd_p
Код:
#define PILOT PilotSkinIDHere
Код:
if(GetPlayerSkin(playerid) != PILOT) return SendClientMessage(playerid, RED, "Error: You must be pilot to talk in pilot chat.");
Код:
#define TEAM_PILOT 1
Код:
if(GetPlayerTeam(playerid) != TEAM_PILOT) return SendClientMessage(playerid, RED, "Error: You must be pilot to talk in pilot chat.");