Stock variable canbuy?
#1

Heey all,
How can i make a stock with variable that detect if a player can buy it and make a textdraw red or green(red =cant buy,green is can buy)
Example:
Код:
format(str1,sizeof(str1),"1-Deagle %s $500 ~n~2-Sniper Rifle %s $1000",canbuy[playerid]);//so if the player can buy it,it adds a ~g~ and if player cant buy it adds ~r~ so the price changes to other colour.
I dont know if its possible.

Thanks Admigo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)