31.05.2016, 16:05
You don't provide the line of the error though so I will just assume that is:
because "Logged" does not have "bool:" tag on its declaration. Change "true" to "1".
Another issue and probably the most important is that that piece of code will only try to save for the player with ID 0. You declare "playerid" which is by default 0 inside the public function when it should have been a parameter. Calling it with the parameter as well.
pawn Код:
if(Logged[playerid] == true)
Another issue and probably the most important is that that piece of code will only try to save for the player with ID 0. You declare "playerid" which is by default 0 inside the public function when it should have been a parameter. Calling it with the parameter as well.