Buying
#1

Question:
How can I make a certain thing not buyable if he/she doesn't have enough money for it.
So that his/her money doesn't go negative (-$100)


Problem:
I don't know how make it not buyable if he/she doesn't have enough money.
________
HONDA F.C. HISTORY
Reply
#2

Код:
if( GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, COLOR, "ERROR : blah blah not enough money")';
Reply
#3

Quote:
Originally Posted by Rac3r
Код:
if( GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, COLOR, "ERROR : blah blah not enough money")';
Okay, thanks Rac3r
________
Roll a joint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)