SA-MP Forums Archive
Robbery Stolen Cash - 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: Robbery Stolen Cash (/showthread.php?tid=511499)



Robbery Stolen Cash - Cr3dO - 05.05.2014

How can I make it to count the money you steal.
http://tinypic.com/r/16ask1e/8
And if one can command dobavyanena friends in the robbery. / robberyinvite

Sorry for my bad english.


Re: Robbery Stolen Cash - Kindred - 05.05.2014

?????????????????????????????????????????????????? ????????/


Re: Robbery Stolen Cash - Twizted - 05.05.2014

https://sampforum.blast.hk/showthread.php?tid=335248

This can help you. Instead of adding score, add money.


Re: Robbery Stolen Cash - SickAttack - 06.05.2014

Make a variable and make it go up then you can use it in a message/gametext/textdraw or w/e.

Example:
pawn Код:
RobbedCashCount[playerid] += robbedcash;



Re: Robbery Stolen Cash - Cr3dO - 06.05.2014

GameTextForPlayer(playerid, "Stolen Cash:%d ", 3000, 3, RobbedCashCount[playerid]); ?


Re: Robbery Stolen Cash - Konstantinos - 06.05.2014

You can't add more arguments because it will give a warning about arguments do not match. You need to format a string first and then use that string in GameTextForPlayer function.


Re: Robbery Stolen Cash - Cr3dO - 06.05.2014

how to do when you kill a player who stops robbery