How to make a checkpoint at a location?
#1

how i can make a checkpoint at this location
pawn Код:
414.9907,2534.9116,19.1484
also how can i make can i make a dialog pop up after entering the checkpoint
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
Reply
#3

This dont help me ...
Reply
#4

it depends what you want it for like if you want it on player spawn you put it under public onplayerspawn(playerid)

or make a command(ZCmd)
Код:
CMD:changeme
{
       if(IsPlayerInRangeOfPoint(playerid,5,0,0,0))
       {
              ShowPlayerDialog
       }
       return 1;
}
Then put the effect under
Код:
public OnPlayerEnterCheckpoint (playerid)
{
      if(IsPlayerInRangeOfPoint(playerid,5,0,0,0))
      {
             DisablePlayerCheckPoint(playerid);
             ShowPlayerDialog(blah blah blah blah etc)
Reply
#5

thanks mate
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)