I need small help
#1

A'ight, I'm thinking of making a lottery system , but i friend gave me the following code for setting the prize (I got the other things right) and I want it instead of averange of money I want to add my own text ex " /setprize 4 doors Sultan" or smth similar. Basically text instead of numbers (any text)

Код:
if(lottopr < 10000 || lottopr > 5000000) return SendClientMessage(playerid, -1, "Invalid prize number. Prize must be between $10,000 and $5,000,000."); // Surpassing the prize limit
Reply
#2

pawn Код:
if(lottopr < 10000 && lottopr > 5000000) return SendClientMessage(playerid, -1, "Invalid prize number. Prize must be between $10,000 and $5,000,000.");

// or

if(10000 > lottopr > 5000000) return SendClientMessage(playerid, -1, "Invalid prize number. Prize must be between $10,000 and $5,000,000.");
Reply
#3

I want instead of numbers , text.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)