GetPlayerVehicleID Help
#1

Ok, so before I begin, keep in mind that ive done 0 scripting since 2012 lol. Im just coming back into it. That being said,

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(GetPlayerVehicleID(playerid) == 81)
	{
	SendClientMessage(playerid, COLOR_YELLOW, "Your Tail Number is EA-6833");
	}
Im trying to test a theory with this. Basically when you enter the specified Dodo (ID 81) the server should send a message telling you that this is your tail number. Simple right? Apparently not for me. When i enter the vehicle, nothing happens. Im not really sure what im missing here. any SERIOUS, help would be appreciated. Thank you.
Reply


Messages In This Thread
GetPlayerVehicleID Help - by KingOfStarfox - 11.08.2016, 16:22
Re: GetPlayerVehicleID Help - by Luicy. - 11.08.2016, 16:27
Re: GetPlayerVehicleID Help - by WhiteGhost - 11.08.2016, 16:27
Re: GetPlayerVehicleID Help - by Konstantinos - 11.08.2016, 16:28
Re: GetPlayerVehicleID Help - by Luicy. - 11.08.2016, 16:30
Re: GetPlayerVehicleID Help - by KingOfStarfox - 11.08.2016, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)