15.04.2009, 08:49
I want to learn how to define teams to vehicles , equipments (like openable doors) etc... Please help !!
if(IsPlayerInVehicle(playerid, 32))//<-- Change to The gang cars id { if(gTeam[playerid] == TEAM_BALLAS)//Change To your Team { GameTextForPlayer(playerid,"~r~This Car Is only For ~g~Grove Street Members !",1000,4);//Dispalys a message To The Balla Member. RemovePlayerFromVehicle(playerid);//Makes a balla member exit when he Enters } }
Originally Posted by krisis32
yes... but i hatte this.. cuz if you got like car INFERNUS for BALLAS... and on street is another INFERNUS .. only BALLAS could enter it... that suckz...
|