A problem in OnPlayerDisconnect
#6

i mean like this
PHP Code:
public OnPlayerDisconnect(playeridreason

        if(
pLogged[playerid] == 1) { 
        new 
INI:iFile INI_Open(PlayerPath(playerid)); 
        
INI_SetTag(iFile,"data"); 
        
INI_WriteInt(iFile,"Cash",GetPlayerMoney(playerid)); 
        
INI_WriteInt(iFile,"Score",GetPlayerScore(playerid)); 
        
INI_Close(iFile); 
    } 
      {
        
pLogged[playerid] = 0
        
TextDrawHideForPlayer(playeridTextdrawConnect0);  // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect1); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect2); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect3); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect4); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect5); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect6); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect7); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect8); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect9); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect10); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect11); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect12); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect13); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect14); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect15); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect16); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect17); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect18); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTextdrawConnect19); // Connect Textdraw 
        
TextDrawHideForPlayer(playeridTime1), TextDrawHideForPlayer(playeridDate); // DATE AND TIME 
        
TextDrawHideForPlayer(playeridCredit); // Credits 
        
StopAudioStreamForPlayer(playerid); 
        
Radio[playerid] = false
        return 
1
    } 
        return 
0

Reply


Messages In This Thread
A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 07:39
Re: A problem in OnPlayerDisconnect - by iRage - 17.05.2012, 07:49
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:14
Re: A problem in OnPlayerDisconnect - by $$Killer$$ - 17.05.2012, 08:18
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:21
Re: A problem in OnPlayerDisconnect - by $$Killer$$ - 17.05.2012, 08:35
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:43
Re: A problem in OnPlayerDisconnect - by Kitten - 17.05.2012, 08:46
Re: A problem in OnPlayerDisconnect - by $$inSane - 17.05.2012, 08:48
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 08:48
Re: A problem in OnPlayerDisconnect - by Kitten - 17.05.2012, 08:52
Re: A problem in OnPlayerDisconnect - by $$inSane - 17.05.2012, 09:06
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 09:42
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 09:56
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 10:58
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:05
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:21
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 11:39
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 12:08
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 13:43
Re: A problem in OnPlayerDisconnect - by Firo - 17.05.2012, 17:29

Forum Jump:


Users browsing this thread: 2 Guest(s)