25.07.2011, 01:22
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; }