19.12.2013, 22:40
(
Last edited by CrossOv3r; 20/12/2013 at 06:28 PM.
)
This tutorial have a little bug I guess.
If you use this:
To reset the player variables, stats will not save. Use that code just in "OnPlayerConnect".
If you use this:
Code:
public OnPlayerDisconnect( playerid, reason ) { for( new i; i < _: USER_DATA; ++i ) User[ playerid ][ USER_DATA: i ] = 0; // ... return 1; }