16.04.2014, 17:06
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:
Loading:
All the best,
Firewire.
For Saving:
pawn Код:
// Save
dini_Set(File, "Tickets", PlayerInfo[playerid][Ticket]); // Change File to match yours.
pawn Код:
// Loading
PlayerInfo[playerid][Ticket] = dini_Get(File, "Tickets"); // Change File to match yours.
Firewire.