My shop! [Help please :)]
#1

I have made a command /shop
when you type it, it comes up with a list in chat.

one of the weapons is a deagle. you have to type /deagle

Now the problem is that you can buy the deagle even if you dont have the money! The deagle costs $1000
How can i make it say you dont have the money if they dont have the money?


Thanks, you guys help loadss!!
Reply
#2

pawn Код:
if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, COLOR_RED, "You don't have enough cash!");
Put that at the beginning of the /deagle cmd
Reply
#3

Thankyou )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)