09.08.2010, 14:38
The score 'system' is suppose to give u a score everytime you kill someone.
Here is the code(s)
Under OnPlayerDisconnect
____________________________
dini_IntSet(file,"score", GetPlayerScore(playerid));
Under login command
_________________________________
SetPlayerScore(playerid,dini_Int(file,"score"));
Under register command
____________________________________
dini_IntSet(file,"score", 0);
Could someone tell me what I've done wrong?
Here is the code(s)
Under OnPlayerDisconnect
____________________________
dini_IntSet(file,"score", GetPlayerScore(playerid));
Under login command
_________________________________
SetPlayerScore(playerid,dini_Int(file,"score"));
Under register command
____________________________________
dini_IntSet(file,"score", 0);
Could someone tell me what I've done wrong?