Stay within the world boundaries after death? WTF?
#1

Hi.

I have a big problem.
When a player death i have a big message:
Stay within the world boundaries

Reply
#2

Search to your script for SetPlayerWorldBounds function. You probably set the boundries somewhere.
Reply
#3

Dude, why is the colour of your screen like yellow, I remember last time my computer did that, was a glitch if I remember correctly, not sa-mp but gta sa related. Something like graphic card failed or something. Anyhow, I'm just spit balling.
Reply
#4

I did not SetPlayerWorldBounds in my script. The problem is only on my server ... : (
Reply
#5

Check your filterscripts for SetPlayerWorldBounds, if you have them, remove them.
Reply
#6

OnPlayerSpawn:

Код:
public OnPlayerSpawn(playerid)
{
	/* On va travailler sur le respawn du joueur aprиs la mort de celui-ci. */
	if(joueurmort[playerid] == 1)
	{
	    SetPlayerPos(playerid, 1649.5544, -2417.1357, 13.5547); /* La position de l'aйroport de LS. */
	    joueurmort[playerid] = 0; /* Ensuite le joueur n'est plus а l'йtat de mort, il respawn. */
	    return 1;
	}
	return 1;
}
OnPlayerDeath:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendDeathMessage(killerid, playerid, reason); /* Message а droite de l'йcran lorsqu'un joueur est mort. */
	joueurmort[playerid] = 1; /* On met la variable а '1' aprиs la mort. */
	PlayerInfo[killerid][pKills]++;
	PlayerInfo[killerid][pDeaths]++;
	return 1;
}
Reply
#7

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
j'ai trouvй ton probleme

mets зa dans on player spawn
Код:
joueurmort[playerid] == 1
English please, if you wanna speak your own language with him, PM him.
Reply
#8

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
i found your problem

put this in OnPlayerSpawn
Код:
joueurmort[playerid] == 1
And sorry for speaking french
Код:
public OnPlayerSpawn(playerid)
{
	/* On va travailler sur le respawn du joueur aprиs la mort de celui-ci. */
	if(joueurmort[playerid] == 1)
	{
	    SetPlayerPos(playerid, 1649.5544, -2417.1357, 13.5547); /* La position de l'aйroport de LS. */
	    joueurmort[playerid] = 0; /* Ensuite le joueur n'est plus а l'йtat de mort, il respawn. */
	    return 1;
	}
        joueurmort[playerid] == 1;
	return 1;
}
This?
Reply
#9

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendDeathMessage(killerid, playerid, reason); /* Message а droite de l'йcran lorsqu'un joueur est mort. */
	joueurmort[playerid] = 1; /* On met la variable а '1' aprиs la mort. */
	PlayerInfo[killerid][pKills]++;
	PlayerInfo[killerid][pDeaths]++;
	return 1;
}
I already have.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)