System objects
#3

Lol lol lol x 10.

Put this above OnGameModeIniti

pawn Код:
new yourpickup
Put this under OnGameModeInit

pawn Код:
yourpickup = CreatePickup (pickupid,id(like1-20), x,y,z);
and put this under OnPlayerPickup

pawn Код:
if (pickupid == yourpickup)
    {
        SetPlayerHealth(playerid, 100);
        // bla bla bla
    }
Pickup ID's: http://weedarr.wikidot.com/pickups
Pickup types: https://sampwiki.blast.hk/wiki/CreatePickup
To get a coordinate, go in samp server and do /save 'name' - You will get X,Y,Z
Reply


Messages In This Thread
System objects - by lukpir - 15.08.2009, 13:21
Re: System objects - by Correlli - 15.08.2009, 13:24
Re: System objects - by XtremeChio - 15.08.2009, 13:28
Re: System objects - by lukpir - 15.08.2009, 13:44

Forum Jump:


Users browsing this thread: 1 Guest(s)