Stay within the world boundaries after death? WTF? -
BrendaSAMP - 23.09.2013
Hi.
I have a big problem.
When a player death i have a big message:
Stay within the world boundaries
Re: Stay within the world boundaries after death? WTF? -
Konstantinos - 23.09.2013
Search to your script for
SetPlayerWorldBounds function. You probably set the boundries somewhere.
Re: Stay within the world boundaries after death? WTF? -
Sting. - 23.09.2013
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.
Re: Stay within the world boundaries after death? WTF? -
BrendaSAMP - 23.09.2013
I did not SetPlayerWorldBounds in my script. The problem is only on my server ... : (
Re: Stay within the world boundaries after death? WTF? -
DanishHaq - 23.09.2013
Check your filterscripts for SetPlayerWorldBounds, if you have them, remove them.
Re: Stay within the world boundaries after death? WTF? -
BrendaSAMP - 23.09.2013
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;
}
Re: Stay within the world boundaries after death? WTF? -
DanishHaq - 23.09.2013
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.
Re: Stay within the world boundaries after death? WTF? -
BrendaSAMP - 23.09.2013
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?
Re: Stay within the world boundaries after death? WTF? -
BrendaSAMP - 23.09.2013
Код:
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.