View Single Post
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 09-09-2019 , 03:28   Re: [Help/Req] Shop Plugin/Sma
Reply With Quote #8

Quote:
Originally Posted by skatz_ws View Post

PHP Code:
public client_putinserver(id)
{
    
jumpnum[id] = 0;
    
dojump[id] = false;
}

public 
client_disconnect(id)
{
    if(
task_exists(id)) remove_task(id);
    
jumpnum[id] = 0;
    
dojump[id] = false;

skatz_ws
there is no need to do these in client_putinserver
Code:
jumpnum[id] = 0 dojump[id] = false
doing it in disconnect is enough.

Last edited by LearninG; 09-09-2019 at 03:29.
LearninG is offline