Quick question.
#1

Hi there, I posted this earlier, but I didn't get the answer I was looking for, and the topic is 2 pages behind already.

Anyways, there's this lotto script i'm writing and i'm currently at the ticket purchase system part.
Код:
COMMAND:lotto(playerid, params[])
{
new Number;
sscanf(params, "d", Number);
if(Number < 1)
{
     SendClientMessage(playerid, 0x10F441AA, "USAGE: /lotto (1-100)");
     return 1;
}
if(Number > 100)
{
     SendClientMessage(playerid, 0x10F441AA, "USAGE: /lotto (1-100)");
     return 1;
}
//What do I put here to display the ticket number to the player?
SendClientMessage(playerid, 0x10F441AA, "You have purchased a lotto ticket!");
SendClientMessage(playerid, 0x10F441AA, "Wait for the draw.. Good luck!");

return 1;
}
I tried countless solutions, nothing seemed to output it right :\
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=160025
Reply
#3

Thanks for the link
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)