How to > Add Checkpoint > SetPlayerPos
#2

So if you want to create checkpoint on playe spawn it would go like this
Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 2090.0127,1514.6372,10.8203,221.7098,0,0,0,0,0,0);
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerPos(1132.9397,-10.3007,1000.6797,0.2041,0,0,0,0,0,0);
    DisablePlayerCheckpoint(playerid);
    return 1;
}
Reply


Messages In This Thread
How to > Add Checkpoint > SetPlayerPos - by RedRex - 01.05.2016, 15:39
Re: How to > Add Checkpoint > SetPlayerPos - by Micko123 - 01.05.2016, 15:54
Re: How to > Add Checkpoint > SetPlayerPos - by CalvinC - 01.05.2016, 15:59
Re: How to > Add Checkpoint > SetPlayerPos - by Konstantinos - 01.05.2016, 16:07
Re: How to > Add Checkpoint > SetPlayerPos - by Micko123 - 01.05.2016, 16:08
Re: How to > Add Checkpoint > SetPlayerPos - by RedRex - 01.05.2016, 16:09
Re: How to > Add Checkpoint > SetPlayerPos - by TheSimpleGuy - 01.05.2016, 16:10
Re: How to > Add Checkpoint > SetPlayerPos - by Micko123 - 01.05.2016, 16:12
Re: How to > Add Checkpoint > SetPlayerPos - by RedRex - 01.05.2016, 16:14
Re: How to > Add Checkpoint > SetPlayerPos - by oMa37 - 01.05.2016, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)