how to next checkpoint
#1

can you help me why every time I step on the first checkpoint I definitely get the final checkpoint ....

whereas there I make it uniform



first checkpoint
PHP код:
CMD:startdriving(playeridparams[])
{
    if(
TelahLogin[playerid] == 0) return SendClientMessage(playerid,warna_merah,"Kamu belum login");
       if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_LIGHTBLUE,"Kamu tidak bisa menggunakan command ini di dalam kendaraan");
    if(
GetVehicleModel(GetPlayerVehicleID(playerid)) == 458) {
        
cpd[playerid] = 1;
         
SetPlayerCheckpoint(playerid2071.4209,-1913.3623,13.32635.0);
         
SendClientMessage(playeridwarna_biru"mengemudilah dengan hati2 ikuti checkpoint");
     }
     else 
SendClientMessage(playeridwarna_merah"Hanya digunakan di drivingschool");
    return 
1;

Being one checkpoint passes to last
PHP код:
if(cpd[playerid] == 1){
        
cpd[playerid] = 2;
        
SetPlayerCheckpoint(playerid,2081.1523,-1831.5197,13.1621,5.0);
    }
    if(
cpd[playerid] == 2){
        
SetPlayerCheckpoint(playerid,2108.8325,-1753.1776,13.1821,5.0);
        
cpd[playerid] = 3;
    } 
Thanks Before
Reply


Messages In This Thread
how to next checkpoint - by Jihanz - 26.03.2017, 06:00
Re: how to next checkpoint - by AndySedeyn - 26.03.2017, 06:04
Re: how to next checkpoint - by Jihanz - 26.03.2017, 06:12
Re: how to next checkpoint - by AndySedeyn - 26.03.2017, 06:20
Re: how to next checkpoint - by coool - 26.03.2017, 06:34

Forum Jump:


Users browsing this thread: 2 Guest(s)