SA-MP Forums Archive
gun pick ups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: gun pick ups (/showthread.php?tid=107909)



gun pick ups - [HKS]dlegend - 11.11.2009

wat it is wen a player dies id like then guns they had to become like pick ups like in gta sa normal if you killa cop how would this be done on 3a


Re: gun pick ups - LarzI - 11.11.2009

GetPlayerWeapons
CreatePickup
SetTimer<optional>

Check up those functions


Re: gun pick ups - [HKS]dlegend - 11.11.2009

wat would i need the timer for



Re: gun pick ups - LarzI - 11.11.2009

if you want the to disappear after some time (optional ofc)

first post edited :P


Re: gun pick ups - Vadonis - 11.11.2009

yea but how to make it ?
Код:
 weapon = CreatePickup(what need to bee here?, 2, Float:X, Float:Y, Float:Z);
and here?
Код:
else if (pickupid == weapon)
	{
    GivePlayerWeapon(playerid,here,andhere);
	}
Pleas?