Getting killed weapons - 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: Getting killed weapons (
/showthread.php?tid=157520)
Getting killed weapons -
shoru93 - 06.07.2010
How to
If i kill anyone, then drop killed player weapon on ground so others can take them?
Re: Getting killed weapons -
DJDhan - 07.07.2010
Haven't you asked this question before? Search for your topic and you will find what you are looking for.
Re: Getting killed weapons -
BP13 - 07.07.2010
Here you go:
http://pastebin.com/f4bca344f
Re: Getting killed weapons -
TheKingOfSamp - 07.07.2010
Код HTML:
public OnPlayerDeath(playerid, killerid, reason)
{
DropPlayerWeapons(playerid);
return 1;
Re: Getting killed weapons -
BP13 - 07.07.2010
Quote:
Originally Posted by TheKingOfSamp
Код HTML:
public OnPlayerDeath(playerid, killerid, reason)
{
DropPlayerWeapons(playerid);
return 1;
|
That won't work that's not a native function... You need to use the script I posted.
Re: Getting killed weapons -
TheKingOfSamp - 07.07.2010
Quote:
Originally Posted by shoru93
How to
If i kill anyone, then drop killed player weapon on ground so others can take them?
|
look what he wrote ,he didn't asked for kill command , he needed when the gun dropped from the guy who get killed!
Re: Getting killed weapons -
BP13 - 07.07.2010
Quote:
Originally Posted by TheKingOfSamp
look what he wrote ,he didn't asked for kill command , he needed when the gun dropped from the guy who get killed!
|
Did I say that? You need to learn English better before you argue with people... if he uses your 1 line of code hes just going to get "error 017: undefined symbol "DropPlayerWeapons"" And if he uses the link I posted hes going to be successful.