small help
#1

so i wanna make a checkpoint to set the players position to an ammunition shop and here is the code
Код:
 
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 2159.3638,943.1764,10.8203, 3.0);
    return 1;
}
Код:
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerPos(playerid, 286.800994,-82.547599,1001.515625);
    SendClientMessageToAll(COLOR_RED, "A player has entered an ammunition store!");
    DisablePlayerCheckpoint(playerid);
    return 1;
}
and here is the problem:

everything is ok with the checkpoint and script no errors etc but when u enter it u get to the xyz but ur just in mid air falling how can i fix this ?
Reply


Messages In This Thread
small help - by Wonderweiss - 27.10.2012, 19:57
Re: small help - by Catalyst- - 27.10.2012, 20:13
Re: small help - by Wonderweiss - 27.10.2012, 20:20
Re: small help - by Wonderweiss - 27.10.2012, 20:24
Re: small help - by NewerthRoleplay - 27.10.2012, 20:27
Re: small help - by Catalyst- - 27.10.2012, 20:28
Re: small help - by Wonderweiss - 27.10.2012, 20:33

Forum Jump:


Users browsing this thread: 1 Guest(s)