Ask about Cmd with quota
#4

Okay so you managed to get that working. But remember for the command, you must check if PlayerInfo[playerid][Ticket] is greater than one, not equal to one. As it'll only work when PlayerInfo[playerid][Ticket] has a value of 1.

For Saving:
pawn Код:
// Save
dini_Set(File, "Tickets", PlayerInfo[playerid][Ticket]); // Change File to match yours.
Loading:
pawn Код:
// Loading
PlayerInfo[playerid][Ticket] = dini_Get(File, "Tickets"); // Change File to match yours.
All the best,
Firewire.
Reply


Messages In This Thread
Ask about Cmd with quota - by [IND]Crazy - 16.04.2014, 16:37
Re: Ask about Cmd with quota - by Firewire - 16.04.2014, 16:47
Re: Ask about Cmd with quota - by [IND]Crazy - 16.04.2014, 16:54
Re: Ask about Cmd with quota - by Firewire - 16.04.2014, 17:06
Re: Ask about Cmd with quota - by Mauzen - 16.04.2014, 17:17
Re: Ask about Cmd with quota - by [IND]Crazy - 17.04.2014, 05:55

Forum Jump:


Users browsing this thread: 1 Guest(s)