14.07.2011, 00:44
You must be having a player database folder using dini or sql
Just open the player file, eg:
When a player logs in, you open his file and update his ingame stats like
Then when you want to check if he has a licence or is he having the required amount of kills like in this example, you do a simple check:
It would be helpful to know what you are using to save player stats.
Just open the player file, eg:
When a player logs in, you open his file and update his ingame stats like
Код:
PlayerInfo[playerid][Kills] = dini_Int(file,"Kills");
Код:
if(PlayerInfo[playerid][Kills] >= 200) //do something