Getting part of money
#1

I want to get player's money's 100/2, How will I do this?
Reply
#2

I Really don't understand what you mean...xD , can you Describe more what you want to do?
Reply
#3

We can take player's money with GetPlayerMoney(bla bla bla)
I took and I want 100/2 of it. How can I take it?
Reply
#4

You want % percent? 2% ? If yes, try something like:
pawn Код:
new cash, partcash;
cash = GetPlayerMoney(playerid)
partcash = (cash * 2) / 100
Reply
#5

YAY! I was waiting for this THANK YOU SO MUCH!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)