SpawnPlayer
#1

Umm I have kind of wierd problem I changed the mode version to 0.3D and it coused a little wierd problem that Idk how to fix it..
there is my OnPlayerSpawn:
PHP код:
    SetPlayerVirtualWorld(playerid,0);
    
TogglePlayerControllable(playerid,1);
    if(
gPlayerLogged[playerid] == 0)
    {
        
SendClientMessage(playeridCOLOR_LIGHTRED"** This server requires a Login BEFORE spawn (Kicked) **");
        
Kick(playerid);
     }
    
SetPlayerSpawn(playerid);
    
SetPlayerToTeamColor(playerid); 
the problem is that when I login and it suppose to spawn it does "server closed the connection" and I check the old version and it works fine Idk what the problem is...
Please help :P
Reply


Messages In This Thread
SpawnPlayer - by vladi866 - 17.12.2011, 06:00
Re: SpawnPlayer - by suhrab_mujeeb - 17.12.2011, 06:19
Re: SpawnPlayer - by [ABK]Antonio - 17.12.2011, 06:21
Re: SpawnPlayer - by vladi866 - 17.12.2011, 06:23
Re: SpawnPlayer - by vladi866 - 18.12.2011, 01:27
Re: SpawnPlayer - by jamesbond007 - 18.12.2011, 04:10
Re: SpawnPlayer - by Celson - 18.12.2011, 04:15
Re: SpawnPlayer - by vladi866 - 19.12.2011, 05:44
Re: SpawnPlayer - by Larry123 - 11.01.2012, 18:58

Forum Jump:


Users browsing this thread: 2 Guest(s)