24.02.2011, 15:29
pawn Код:
if(IsPlayerInVehicle(playerid,NomeDaOrgsCars[0])||IsPlayerInVehicle(playerid,NomeDaOrgsCars[1])||IsPlayerInVehicle(playerid,NomeDaOrgsCars[2])||IsPlayerInVehicle(playerid,NomeDaOrgsCars[3])||IsPlayerInVehicle(playerid,NomeDaOrgsCars[4])||IsPlayerInVehicle(playerid,NomeDaOrgsCars[5])) // numero de carros!
{
if(PlayerInfo[playerid][pMember] != IDDELA || PlayerInfo[playerid][pLeader] != IDDELA) // < id da org , EX: 1 , 2....5,7
{
SendClientMessage(playerid,COLOR_GREY,"Vocк nгo й da Org 'nomedela'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}