Pawn crashes
#1

hello, idk what i can do ill try to fix that but nothing when i add that

public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerPos(playerid,x,y,z);///sets the player who dies to this position
return1;
}


pawn will crashes can somone help me?
Reply
#2

do you have SetPlayerPos like that? with those x,y,z?
Reply
#3

Try to put x,y,z the position u want then compile it or maybe fixed ur indentation

+rep if i help u
Reply
#4

First of all, do you know what is OnPlayerDeath callback? when a player dies and you set his position to X Y Z, is the X Y Z even defined? and setting his position wont do anything since he will respawn, however you probably have a missing bracket which is not in this callback try to use a bracketfinder.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)