Simple Save
#1

Basically I have a drug system
When the player quits the drugs all go back to 0 but I want them to save in a file...

pawn Код:
CMD:dinv(playerid,params[])
{
    new string[128];
    format(string,sizeof(string),"You have %d drugs on you!",PlayerInfo[playerid][drugs]);
    SendClientMessage(playerid,-1,string);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)