Player Money 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)
+--- Thread: Player Money Death (
/showthread.php?tid=429806)
Player Money Death -
colonel-top - 11.04.2013
Hello Guys im try search this for 3 days but i ot see anything can help me can someone help me ?
So its kike this im checking all my scripts
onplayerdeath and spawn not have scripts deduct death money
but when playerspawn its auto deduct 100$ from player !
but im not write this scripts i dont know how i can fix T_T can someone solved me plz thx
Sorry for my bad english im not use translator
Re: Player Money Death -
Pottus - 11.04.2013
Find a better translator.
Re: Player Money Death -
erikhenri - 11.04.2013
Maybe you can just add "GivePlayerMoney(playerid, 100);" on OnPlayerDeath
Re: Player Money Death -
MP2 - 11.04.2013
Quote:
Originally Posted by [uL]Pottus
Find a better translator.
|
I understood fine.
GTA automatically takes $100 on death. How do you fix it? Have a guess. Clue: the guy above posted this a second before me -_-
Re: Player Money Death -
Configuration - 11.04.2013
Just add GivePlayerMoney(playerid, 100); in public OnPlayerDeath(playerid, killerid, reason)
Respuesta: Player Money Death -
JordanR - 11.04.2013
Add:
Код:
GivePlayerMoney(playerid, 100);
In:
Код:
public OnPlayerDeath(playerid, killerid, reason)
Re: Player Money Death -
MP2 - 11.04.2013
How about we stop posting after it's been solved? That'd be good.
Re: Player Money Death -
colonel-top - 11.04.2013
yep im do it
but if player death then give money and they quit and login and quit and login its always bump money lol
Re: Player Money Death -
sanya_gnoy - 04.10.2013
I know that it is very late, but I found the
normal way to solve this problem. Dude, just use
SpawnPlayer (playerid) in public
OnPlayerDeath ();
[ame]http://www.youtube.com/watch?v=mX_Q2-mRF9Q[/ame]