Warning
#1

I get Warning(s007): Exception 0xC0000005 at 0x4CA013 when I spawn at a specific place, I don't crash, but it's rather annoying. Help?
Reply
#2

I Dont No, but can be a mod installed on your gta causing this error
Reply
#3

I have no mods installed.
Reply
#4

Try Find
PHP код:
OnPlayerSpawn 
Change The Pos
Reply
#5

What pos?
Код:
public OnPlayerSpawn(playerid)
{
	SetPlayerInterior(playerid,0);
	TogglePlayerClock(playerid,0);
 	if(GetPlayerSkin(playerid) == 105) SetPlayerColor(playerid, 0x00FF00FF);
 	 	if(GetPlayerSkin(playerid) == 106) SetPlayerColor(playerid, 0x00FF00FF);
 	 	 	if(GetPlayerSkin(playerid) == 107) SetPlayerColor(playerid, 0x00FF00FF);
 	if(GetPlayerSkin(playerid) == 102) SetPlayerColor(playerid, 0x4B00B0AA);
 	 	if(GetPlayerSkin(playerid) == 103) SetPlayerColor(playerid, 0x4B00B0AA);
 	 	 	if(GetPlayerSkin(playerid) == 104) SetPlayerColor(playerid, 0x4B00B0AA);
 	if(GetPlayerSkin(playerid) == 280) SetPlayerColor(playerid, 0x0000BBAA);
 	 	if(GetPlayerSkin(playerid) == 281) SetPlayerColor(playerid, 0x0000BBAA);
            if(GetPlayerSkin(playerid) == 164) SetPlayerColor(playerid, 0x0000BBAA);
				if(GetPlayerSkin(playerid) == 186) SetPlayerColor(playerid, 0x0000BBAA);
            return 1;
}
Reply
#6

Quote:
Originally Posted by SmileyForCheat
Посмотреть сообщение
Try Find
PHP код:
OnPlayerSpawn 
Change The Pos
Quote:
Originally Posted by Rabbayazza
Посмотреть сообщение
What pos?
Код:
public OnPlayerSpawn(playerid)
{
	SetPlayerInterior(playerid,0);
	TogglePlayerClock(playerid,0);
 	if(GetPlayerSkin(playerid) == 105) SetPlayerColor(playerid, 0x00FF00FF);
 	 	if(GetPlayerSkin(playerid) == 106) SetPlayerColor(playerid, 0x00FF00FF);
 	 	 	if(GetPlayerSkin(playerid) == 107) SetPlayerColor(playerid, 0x00FF00FF);
 	if(GetPlayerSkin(playerid) == 102) SetPlayerColor(playerid, 0x4B00B0AA);
 	 	if(GetPlayerSkin(playerid) == 103) SetPlayerColor(playerid, 0x4B00B0AA);
 	 	 	if(GetPlayerSkin(playerid) == 104) SetPlayerColor(playerid, 0x4B00B0AA);
 	if(GetPlayerSkin(playerid) == 280) SetPlayerColor(playerid, 0x0000BBAA);
 	 	if(GetPlayerSkin(playerid) == 281) SetPlayerColor(playerid, 0x0000BBAA);
            if(GetPlayerSkin(playerid) == 164) SetPlayerColor(playerid, 0x0000BBAA);
				if(GetPlayerSkin(playerid) == 186) SetPlayerColor(playerid, 0x0000BBAA);
            return 1;
}
1. Changing the spawn position will not fix the problem, you will only "hide" it until you are near the area again
2. He means at OnGameModeInit() the AddPlayerClass(skinid,x,y,z,etc... part to change the location.

Are you sure your not having any mods installed ? else ask other people to join the server and ask if they have the same problem (if they do, its a serversided problem and else the problem is at your SAMP client).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)