Auto Spawn Object
#3

pawn Код:
CMD:pickup(playerid, params[])
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y ,z);
    CreatePickup(1240, 2, x, y, z, 0); // creates a pickup at your location
    return 1;
}
or

new Health;

pawn Код:
public OnGameModeInit()
{
    Health = createpickup(1242, 2, x, y, z);
}
Actually, when you pick that pickup ^ it will respawn after some time. if it is the health one, it will automatically give you health. just insert your coordinates
Reply


Messages In This Thread
Auto Spawn Object - by sheepondrugs - 08.08.2010, 23:43
Re: Auto Spawn Object - by (.Aztec); - 08.08.2010, 23:56
Re: Auto Spawn Object - by [L3th4l] - 08.08.2010, 23:58
Re: Auto Spawn Object - by sheepondrugs - 09.08.2010, 00:05

Forum Jump:


Users browsing this thread: 1 Guest(s)