Checkpoint problems
#1

I have started to create a DMV script but im already having problems with the first checkpoint when the player enters the vehicle it should start the first checkpoint can you see anything wrong here:

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new CarCheck = GetPlayerVehicleID(playerid);
 if(CarCheck == DMV1 || CarCheck == DMV2 || CarCheck == DMV3)
 {
 if(PlayerInfo[playerid][DMV] == 1)
 {
SetPlayerCheckpoint(playerid, 1427.2813, -1613.6610, 13.0077, 10.0);
SendClientMessage(playerid,SYellow,"Please drive follow all the checkpoints, as you go alonge.");
return SendClientMessage(playerid,SYellow,"the weather may change, just keep calm and drive carefully.");
 }
 }

	return 1;
}
Reply


Messages In This Thread
Checkpoint problems - by slymatt - 25.07.2011, 01:22
Re: Checkpoint problems - by =WoR=Varth - 25.07.2011, 01:38
Re: Checkpoint problems - by slymatt - 25.07.2011, 01:39
Re: Checkpoint problems - by PotH3Ad - 25.07.2011, 01:40
Re: Checkpoint problems - by slymatt - 25.07.2011, 01:48
Re: Checkpoint problems - by =WoR=Varth - 25.07.2011, 01:50
Re: Checkpoint problems - by PotH3Ad - 25.07.2011, 02:03
Re: Checkpoint problems - by slymatt - 25.07.2011, 02:14
Re: Checkpoint problems - by slymatt - 25.07.2011, 02:26
Re: Checkpoint problems - by PotH3Ad - 25.07.2011, 02:27

Forum Jump:


Users browsing this thread: 2 Guest(s)