SA-MP Forums Archive
Question +REP! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question +REP! (/showthread.php?tid=521470)



Question +REP! - danish007 - 23.06.2014

I want to ask that i've made Racecheckpoints for robbery
when i start robbery.
Racecheckpoint as a hideout .
but when i enter in a vehicle and then i can't pick that checkpoint with any other vehicle or on foot.
can anyone help me please?


Re: Question +REP! - Aerotactics - 23.06.2014

Under OnPlayerEnterRaceCheckpoint, use DisablePlayerCheckpoint.


Re: Question +REP! - danish007 - 23.06.2014

Already Added!
But
When i Enter in Vehicle then i can't enter in race checkpoint with any other vehicle. but i can enter with the same vehicle!
help pls!


Re: Question +REP! - Aerotactics - 23.06.2014

I would use a regular checkpoint then, I never use race checkpoints.


Re: Question +REP! - danish007 - 23.06.2014

how can i use 2 states? liek if player is driver or onfoot both acceptable!


Re: Question +REP! - Adityz - 23.06.2014

pawn Код:
new playerstate;
playerstate = GetPlayerState(playerid);
if(playerstate == PLAYER_STATE_ONFOOT || playerstate == PLAYER_STATE_DRIVER)
{
        // your code will go here..
   
}



Re: Question +REP! - Excel™ - 23.06.2014

Check your code, you might had made a restriction for invehicle players.