19.09.2009, 22:02
I managed to fix that.
But now, (With no FSes on), my server is suddenly crashing when I spawn.
Crash:
And my spawnplayer:
This never started to happen until I switched to RC6-1
But now, (With no FSes on), my server is suddenly crashing when I spawn.
Crash:
Код:
-------------------------- Exception At Address: 0x77EAF217 Registers: EAX: 0x00000008 EBX: 0x00000010 ECX: 0x0017F99C EDX: 0x00000003 ESI: 0x02810000 EDI: 0x00000000 EBP: 0x0017E880 ESP: 0x0017E874 EFLAGS: 0x00010246 Stack:
Код:
public OnPlayerSpawn(playerid) { GameTextForPlayer(playerid,"~w~Map: Urban Assault",1000,5); SetPlayerInterior(playerid, 0); SetPlayerWorldBounds(playerid, -2607.13, -2726.874, 866.2643, 791.31); GangZoneShowForPlayer(playerid, Zone, 0x00800096); switch(gClass[playerid]) { case 0: { SetPlayerColor(playerid, COLOR_BLUE); SetPlayerTeam(playerid, TEAM_COP); SetPlayerTime(playerid,00,00); SendClientMessage(playerid, COLOR_WHITE, "Kill the Zombies, before they win!"); JB_GivePlayerWeapon(playerid, 33, 150); } case 1: { SetPlayerColor(playerid, COLOR_TOMATO); SendClientMessage(playerid, COLOR_WHITE, "Kill the Humans, before they win!"); SetPlayerTime(playerid,00,00); SetPlayerTeam(playerid, TEAM_CRIM); JB_GivePlayerWeapon(playerid, 22, 82); } } return 1; }