I need Something
#4

For a specific vehicle it would probally go like this.

at the top

Код:
new Vehicle_01;
Under public OnGameModeInit()

Код:
Vehicle_01 = CreateVehicle(411, 1309.7299, -870.1506, 39.2363, 270.8354, 0, 0, 1000);
Under public OnPlayerStateChange

Код:
if(newstate == 2 || newstate == 3)
    {
   	new VehicleID = GetPlayerVehicleID(playerid);
   	if(VehicleID == Vehicle_01)
{
	SendClientMessage(playerid, COLOR_YELLOW, " You have entered a vehicle");
}
}
	return 1;
}
I think that might work

If you want it for a single vehicle under OnPlayerEnterVehicle

Код:
SendClientMessage(playerid, COLOR_YELLOW,"You have entered a vehicle");
Reply


Messages In This Thread
I need Something - by seanny - 16.07.2011, 20:52
Re: I need Something - by Setkus - 16.07.2011, 20:55
Re: I need Something - by seanny - 16.07.2011, 21:21
Re: I need Something - by Shockey HD - 16.07.2011, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)