SA-MP Forums Archive
Help with on player death - 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: Help with on player death (/showthread.php?tid=193483)



Help with on player death - scott1 - 26.11.2010

I made this litle code into my onplayerdeath

new Float, Float:y, Float:z;
SetSpawnInfo( playerid, 0,JoueurInfos[playerid][jSkin], x, y, z, 269.15, 0, 0, 0, 0, 0, 0);

But when i spawn, i an, cig, or bottle near me.

How can do that this little objet don't appear?


Re: Help with on player death - jonnyboy - 26.11.2010

tip use [ CODE ] [ /CODE ]

for that code
Код:
new Float:x, Float:y, Float:z;
SetSpawnInfo( playerid, 0,JoueurInfos[playerid][jSkin], x, y, z, 269.15, 0, 0, 0, 0, 0, 0);



Re: Help with on player death - scott1 - 27.11.2010

Thank, but You don't have any solution?


Re: Help with on player death - Ash. - 27.11.2010

I believe this has been reported as a SAMP Bug in an earlier thread. However you could just remove the "weapon" from the player when they spawn.


Re: Help with on player death - scott1 - 27.11.2010

I do removeplayerweapons when he dead, so he haven't any weapons at the spawn


Re: Help with on player death - Ruffles. - 27.11.2010

Quote:
Originally Posted by jonnyboy
Посмотреть сообщение
tip use [ CODE ] [ /CODE ]

for that code
Код:
new Float:x, Float:y, Float:z;
SetSpawnInfo( playerid, 0,JoueurInfos[playerid][jSkin], x, y, z, 269.15, 0, 0, 0, 0, 0, 0);
Hate to burst your bubble but it's
[pewn] [/pawn]
^pawn


Maybe you could remove their weapons when they spawn?


Re: Help with on player death - scott1 - 27.11.2010

I tested, no effect.
Thank for the help, what a *** problem