Player Money Death
#1

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
Reply
#2

Find a better translator.
Reply
#3

Maybe you can just add "GivePlayerMoney(playerid, 100);" on OnPlayerDeath
Reply
#4

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 -_-
Reply
#5

Just add GivePlayerMoney(playerid, 100); in public OnPlayerDeath(playerid, killerid, reason)
Reply
#6

Add:
Код:
GivePlayerMoney(playerid, 100);
In:
Код:
public OnPlayerDeath(playerid, killerid, reason)
Reply
#7

How about we stop posting after it's been solved? That'd be good.
Reply
#8

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
Reply
#9

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]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)