01.01.2013, 20:28
(
Последний раз редактировалось Sydcul; 01.01.2013 в 20:53.
Причина: Solved
)
Hello,
To start off with, happy 2013 everyone!
I have a TDM gamemode. I made it so that when you get killed, you lose money. But it seems to take my set amount and another $100, no matter what my set amount is. It's very strange. I don't get any warnings or errors whatever when compiling, it just takes too much money. It might also be interesting to know that it takes the correct amount of money when you are in the death screen when you fade out of the dead character, but it takes the $100 when you spawn.
Not sure where i made a fault, just posted the whole GM, only 400 lines (without carspawns) http://pastebin.com/svgMae79.
Any help would REALLY be appreciated, i like the people here on the forum, but i'm not so good at SA-MP scripting myself so that's why i don't contribute.
SOLVED: It seems that GTA removes the $100 as a hospital/cop bribe, so i don't have to, i'll just add $100 in case of a teamkill.
-Sydcul
To start off with, happy 2013 everyone!
I have a TDM gamemode. I made it so that when you get killed, you lose money. But it seems to take my set amount and another $100, no matter what my set amount is. It's very strange. I don't get any warnings or errors whatever when compiling, it just takes too much money. It might also be interesting to know that it takes the correct amount of money when you are in the death screen when you fade out of the dead character, but it takes the $100 when you spawn.
Not sure where i made a fault, just posted the whole GM, only 400 lines (without carspawns) http://pastebin.com/svgMae79.
Any help would REALLY be appreciated, i like the people here on the forum, but i'm not so good at SA-MP scripting myself so that's why i don't contribute.
SOLVED: It seems that GTA removes the $100 as a hospital/cop bribe, so i don't have to, i'll just add $100 in case of a teamkill.
-Sydcul