[HELP]CAR MISSION
#3

pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid)
{
if(vehicleid == 123) // Switch 123 to your vehicle ID
{
if(gTeam[playerid] == TEAM_COP) // or GetPlayerTeam
{
return SendClientMessage(playerid,COLOR,"You are cop. You must defend this vehicle from stealers!");
}
else
{
return 1;
}
}
Not tested, might work? :l
Ps:Sorry for identation
Reply


Messages In This Thread
[HELP]CAR MISSION - by [Aka]Dragonu - 03.03.2011, 19:25
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 04.03.2011, 20:38
Re: [HELP]CAR MISSION - by Marricio - 04.03.2011, 20:43
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 04.03.2011, 21:01
Re: [HELP]CAR MISSION - by Marricio - 04.03.2011, 21:09
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 05.03.2011, 06:53
Re: [HELP]CAR MISSION - by Th3Angel - 05.03.2011, 07:08
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 05.03.2011, 07:11
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 05.03.2011, 13:20
Re: [HELP]CAR MISSION - by [Aka]Dragonu - 29.08.2011, 10:20

Forum Jump:


Users browsing this thread: 2 Guest(s)