18.09.2012, 00:15
well you can make ur job easier by adding the line at OnPlayerConnect so when player connects and needs to use the new feature it has the file^^:
for example when you add a new car system and you use dini system
I hope this helps
for example when you add a new car system and you use dini system
Код:
public OnPlayerConnect(playerid) { new path[100], pName[100]; GetPlayerName(playerid, pName,sizeof(pName)); format(path, sizeof(path), "%s.ini"); dini_Set(path, carkey, -1)//-1 is means that player doesn't own any car //rest of the code }