Error when death.
#1

Hey,

I got a White screen with something in the middle 'Bountrys world' or something
I have this Death Code:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    Playerdata[playerid][Death]++;
    Playerdata[killerid][Kill]++;
    SetPlayerHealth(playerid, 100);
    SetSpawnInfo(playerid, 0, Playerdata[playerid][Skin], 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
    SpawnPlayer(playerid);
    return 0;
}
Thanks!
Reply
#2

The co-ordinates for the spawn are outside the foundries.
Reply
#3

" Stay Within The World Boundaries " ?

Search for this in your script:

SetPlayerWorldBounds and remove it

EDIT: Jack may be right too ^
Reply
#4

@Jack_Leslie Foundries = ?, I use the same script for when a player spawns (after login) and that works.
@grand.Theft.Otto Yea, that text, but when i search Bounds, nothing comes (text not found)
Reply
#5

I mean boundries. Check what filterscripts you have... this happened to me once but it just stopped all of a sudden.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)