SA-MP Forums Archive
Command Problem (Minor Problem) - 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: Command Problem (Minor Problem) (/showthread.php?tid=470936)



Command Problem (Minor Problem) - Patrick - 20.10.2013

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
I'm so silly, Obviously the money won't add because It minuses as soon as I execute the command /rob, took me 2 hours to think 'Logic'
Problem Solved.


Re: Command Problem (Minor Problem) - Patrick - 20.10.2013

Thread Posted: 20/10/2013, 01:50 PM
Thread Bumped: 20/10/2013, 03:30 PM

I still need someone to assist me, I've been trying to fix the problem, but I can't find it for some reason.


Re: Command Problem (Minor Problem) - park4bmx - 20.10.2013

your randomEx might be messed up
you said u debbuged but, you didnt really!

before or after the giveplayermoney do
pawn Код:
printf("Money: %d" ,RobbedAmount);
see what it says

edit:
define looks fine


Re: Command Problem (Minor Problem) - Patrick - 20.10.2013

I'm so silly, Obviously the money won't add because It minuses as soon as I execute the command /rob, took me 2 hours to think 'Logic'