16.07.2011, 17:38
After logging in, when it should bring you to spawn, it writes some pixel loading and Stay within world bounds.
The important publics:
My server cfg:
The important publics:
Код:
public OnPlayerConnect(playerid) { new string[256]; GetPlayerName(playerid, plname, sizeof(plname)); format(string, sizeof(string), "Users/%s.txt", plname); SendClientMessage(playerid, -1, ""#COLOR_YELLOW"[SYSTEM] "#COLOR_WHITE" The system is searching for you file at database, please be patience."); if(!dini_Exists(string)) { OnPlayerRegister(playerid, 0); } if(dini_Exists(string)) { SetTimerEx("OnPlayerLogin", 2000, 0, "d", playerid); } return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -68.4606,1221.7789,22.4403); return 1; } public OnPlayerRequestSpawn(playerid) { if(Logged[playerid] == 0) return 0; return 1; }
Код:
echo Executing Server Config... lanmode 0 rcon_password 7777 maxplayers 30 port 7777 hostname SA-MP 0.3c Server gamemode0 fcrp 1 filterscripts animlist announce 0 query 1 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]