OnPlayerEnterCheckpoint help
#1

At
Quote:

public OnPlayerEnterCheckpoint

can I do something like this?

Quote:

if PlayerToPoint(2,playerid,x,y,z)
{
DisablePlayerCheckpoint(playerid);
return 1;
}

Reply
#2

Yes?
Reply
#3

I was asking if this thing
Quote:

if PlayerToPoint(2,playerid,x,y,z)
{
DisablePlayerCheckpoint(playerid);
return 1;
}

Must be placed under OnPlayerEnterCheckpoint or must be placed in another place.
Reply
#4

Well you asked if you could put it there, and you can. It depends what you want the script to do...
Reply
#5

Well,if the player is at that specific point the checkpoint he has will be disabled.That means it will dissapear.
So,where must I put that?
Reply
#6

Quote:
Originally Posted by FreeSoul
Well,if the player is at that specific point the checkpoint he has will be disabled.That means it will dissapear.
So,where must I put that?
At OnPlayerEnterCheckpoint.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)