Crash/Wierd Screen on Death
#1

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;
}
Reply
#2

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
Reply
#3

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

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

im using carlitos rp on 0.3b
Reply
#6

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

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

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

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
Reply
#10

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); //
Reply
#11

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

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

i will make a video on what happens
Reply
#14

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

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.
Reply
#16

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)