HELP loose money when dead
#1

Hi i wanted the players to loose money on death. so i did the usual
new string
GivePlayerMoney(blah, blah -100)

anywaiz that worked fine. but the problem is once i reapawn again after death i loose another hundred dollars. so it takes away 200 dollars from my player. And say if i wanted 200 of and that was ok but when on player death i have
Get Player Money( ) so it only says i lost a hundred but he'll lose 200.
Reply
#2

put it under OnPlayerDeath
Код:
GivePlayerMoney(playerid, -100);
GivePlayerMoney(killerid, 100);
Reply
#3

no thats not what i need, i need to stop on player respawning after death how to not loose money automatically
Reply
#4

You loose $100 automatically in San Andreas. So its best if you use server sided money
Reply
#5

how do i do that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)