LS Admin Base
#9

About the pickup, I made a very brief demonstration here:

Along with your variables:
pawn Код:
new bob;
OnGameModeInit/OnFilterscriptInit:
pawn Код:
bob = CreatePickup(1277, 23, X, Y, Z);
This callback is already on the template, search for it:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == bob)
    {
    //Do stuff here, like SetPlayerPos() etc!
    }
    return 1;
}
If you need anymore help private message me and i'll make you a more formal demonstration!
Reply


Messages In This Thread
LS Admin Base - by Cookie_CreeMy - 21.02.2009, 20:00
Re: LS Admin Base - by Synkro93 - 21.02.2009, 20:03
Re: LS Admin Base - by Cookie_CreeMy - 21.02.2009, 20:08
Re: LS Admin Base - by Synkro93 - 21.02.2009, 20:53
Re: LS Admin Base - by Xpl0ad3r - 21.02.2009, 21:01
Re: LS Admin Base - by Snickers - 21.02.2009, 21:08
Re: LS Admin Base - by Xpl0ad3r - 21.02.2009, 21:18
Re: LS Admin Base - by Cookie_CreeMy - 21.02.2009, 22:04
Re: LS Admin Base - by Weirdosport - 22.02.2009, 00:38
Re: LS Admin Base - by ExtremeCommunity - 06.07.2009, 09:14

Forum Jump:


Users browsing this thread: 1 Guest(s)