Need Help With Basic Checkpoints.
#1

Hi i am trying to code a checkpoint to appear when someone gets into a truck (id= 515). This is my code.

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if (vehicleid == 515)
	  {
		SetPlayerCheckpoint(playerid,2385.4553,28.5155,26.4844, 10);
		}
	else {
		SendClientMessage(playerid, 0xffffffAA, "Not The Right Vehicle");
	}
	return 1;
}
Can anyone see the problem?

Thanks in advance,
Josh
Reply


Messages In This Thread
Need Help With Basic Checkpoints. - by Bofhead - 20.06.2009, 04:40
Re: Need Help With Basic Checkpoints. - by Abernethy - 20.06.2009, 04:55
Re: Need Help With Basic Checkpoints. - by Bofhead - 20.06.2009, 05:03
Re: Need Help With Basic Checkpoints. - by CracK - 20.06.2009, 05:04
Re: Need Help With Basic Checkpoints. - by Bofhead - 20.06.2009, 05:10
Re: Need Help With Basic Checkpoints. - by Grim_ - 20.06.2009, 05:13
Re: Need Help With Basic Checkpoints. - by CracK - 20.06.2009, 05:14
Re: Need Help With Basic Checkpoints. - by Bofhead - 20.06.2009, 05:15
Re: Need Help With Basic Checkpoints. - by Bofhead - 20.06.2009, 05:42
Re: Need Help With Basic Checkpoints. - by CracK - 21.06.2009, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)