17.12.2011, 06:00
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:
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
there is my OnPlayerSpawn:
PHP код:
SetPlayerVirtualWorld(playerid,0);
TogglePlayerControllable(playerid,1);
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires a Login BEFORE spawn (Kicked) **");
Kick(playerid);
}
SetPlayerSpawn(playerid);
SetPlayerToTeamColor(playerid);
Please help :P