SA-MP Forums Archive
Show Checkpoint - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Show Checkpoint (/showthread.php?tid=71025)



Show Checkpoint - Emrets61 - 29.03.2009

I create checkpoint. Player in bus and all player show checkpoint. I want show only player. Help...

Note: Sorry. My English is bad.


Re: Only Car - MenaceX^ - 29.03.2009

Here is the problem - if (GetVehicleModel(437))


Re: Only Car - illay - 29.03.2009

Emrets61,

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if (GetVehicleModel(437))
    {
        SetPlayerCheckpoint(playerid, -2215.4680,-2771.3020,35.8780, 3.0); // Tatil CheckPoint
    }
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(GetVehicleModel(437)) { // { sign lacked
    DisablePlayerCheckpoint(playerid);
       } // } sign lacked (lock if..)
    return 1;
}



Re: Show Checkpoint - Emrets61 - 29.03.2009

Quote:
Originally Posted by Emrets61
I create checkpoint. Player in bus and all player show checkpoint. I want show only player. Help...

Note: Sorry. My English is bad.



Re: Show Checkpoint - Emrets61 - 29.03.2009

Help


Re: Show Checkpoint - Nero_3D - 29.03.2009

show the wrong code, so we can fix it or help to fix it
But only the wrong part, not something with more than 50 lines, lol