SA-MP Forums Archive
Crash/Wierd Screen on Death - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Crash/Wierd Screen on Death (/showthread.php?tid=176378)



Crash/Wierd Screen on Death - Marshall_Banks - 12.09.2010

After i die my screen goes whtie with a black boz and onyl way to fix it is to relog.
It works fine the first time i die but if i die a second time it goes all wird like this.
[ame]http://www.youtube.com/watch?v=rOnzWc4e_Hc[/ame]


Onplayerdeath and spawn
Code:
public OnPlayerSpawn(playerid)
{
	if(gPlayerLogged[playerid])
	{
		PlayerInfo [playerid] [pSkin] = GetPlayerSkin(playerid);
		SetPlayerSpawn(playerid);
	}
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	PlayerInfo [playerid] [pSkin] = GetPlayerSkin(playerid);
	new string[128];
	if(IsPlayerConnected(killerid))
	{
	    if(killerid != playerid)
	    {
	     	if(AdminDuty[playerid])
		    {
		        if(!AdminDuty[killerid])
		        {
					KickPlayer(killerid,"System","Killing an administrator on duty with abuse.");
					format(string, sizeof(string), "[INFO:] System has kicked %s, Reason: Killing an administrator on duty with abuse. ", PlayerName(killerid));
					KickLog(string);
				}
		    }
	    	SetPlayerWantedLevelEx(killerid,GetPlayerWantedLevelEx(playerid)+1);
	    }
	}
	return 1;
}



Re: Crash/Wierd Screen on Death - DarrenReeder - 15.09.2010

Does it happen for just you on that server? or other people aswell?

PM me your server ip and i will go test it out if you dont know (if you have a server ip).


-Darren Reeder


Re: Crash/Wierd Screen on Death - Marshall_Banks - 17.09.2010

it happens to everybody on my server and i dont know the cause of it.


Re: Crash/Wierd Screen on Death - Scenario - 17.09.2010

I have seen something similar to this before... What GM are you using?


Re: Crash/Wierd Screen on Death - Marshall_Banks - 17.09.2010

im using carlitos rp on 0.3b


Re: Crash/Wierd Screen on Death - DragonBlaster50 - 17.09.2010

The cause on my server was because of a VERY Strange Weather, OR a Very high Grativy.


Re: Crash/Wierd Screen on Death - Marshall_Banks - 17.09.2010

the gravity is in server.cfg right? and ill look through the script for strange weather later today.


Re: Crash/Wierd Screen on Death - Pawno_Master - 17.09.2010

It goes like that at +60.0 gravity on my server.
Don't think that's the problem here.


Re: Crash/Wierd Screen on Death - Marshall_Banks - 17.09.2010

Nop it didnt have anything to do with weather.
This is what happens
1st time dieing - nothing happens normal respawn
2nd time dieing - the bug happens and i gotta relog. it happens to everybody on there second time dieing


Re: Crash/Wierd Screen on Death - Marshall_Banks - 18.09.2010

Alright guys i found the the source of the problem. It has to do with coords because i tried teleing to a car after it happened and everything went back to normal. I saved the coords when the bug happened and this is what was in savedpositions
AddPlayerClass(0,-1.#IND,-1.#IND,-1.#IND,1.#QNB,0,0,0,0,0,0); //


Re: Crash/Wierd Screen on Death - KaleOtter - 18.09.2010

yes this happends when the player change from position to fast. The map cannot get loaded so fast.


Re: Crash/Wierd Screen on Death - Karl1195 - 18.09.2010

it happen to me some times when i stay online like for 4hrs lol but then i relog and every thing will turn coool


Re: Crash/Wierd Screen on Death - Marshall_Banks - 18.09.2010

i will make a video on what happens


Re: Crash/Wierd Screen on Death - Marshall_Banks - 18.09.2010

Here is the video of what happens
[ame]http://www.youtube.com/watch?v=rOnzWc4e_Hc[/ame]


Re: Crash/Wierd Screen on Death - TheInnocentOne - 21.09.2010

This is actually (from my experiences) a GTA bug that occurs when you go WAY out of the world boundaries. Teleporting back inside the boundaries fixes it.


Re: Crash/Wierd Screen on Death - Jumpman23 - 21.09.2010

It isn't a GTA bug, the game doesn't expect you to move to a far away distance so quickly, also an easier way of fixing this problem instead of relogging is to F4 and /kill