Help me with creating pickups
#8

Quote:
Originally Posted by Crypto20
Посмотреть сообщение
You would use this https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
for example of use:
Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerPos(playerid,1982.6150, -220.6680, -0.2432);//change pos to what ever your interior position
    SetPlayerVirtualWorld(playerid, 69);// You would change the virtual world to your interior vw.
    DisablePlayerCheckpoint(playerid);
    return 1;
}
sorry for double post.

i want create several checkpoints not only one...
how to do that with this script?
Reply


Messages In This Thread
Help me with creating pickups - by saikumar - 28.04.2014, 14:26
Re: Help me with creating pickups - by Crypto20 - 28.04.2014, 15:01
Re: Help me with creating pickups - by saikumar - 28.04.2014, 15:06
Re: Help me with creating pickups - by Brandon_More - 28.04.2014, 15:10
Re: Help me with creating pickups - by saikumar - 28.04.2014, 15:44
AW: Help me with creating pickups - by Macronix - 28.04.2014, 15:46
Re: AW: Help me with creating pickups - by saikumar - 28.04.2014, 15:54
Re: Help me with creating pickups - by saikumar - 28.04.2014, 15:56
Re: Help me with creating pickups - by Konstantinos - 28.04.2014, 16:25
Re: Help me with creating pickups - by saikumar - 28.04.2014, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)