bWolfie
I'm the man
Hello,
I'm trying to make a script where:
- When player dies on X map, is warped to Y map.
- When player is warped to Y location, player is revived.
This is what I have so far, but I can't get the player to revive after moving map.
I'm trying to make a script where:
- When player dies on X map, is warped to Y map.
- When player is warped to Y location, player is revived.
This is what I have so far, but I can't get the player to revive after moving map.
Code:
- script ondeath FAKE_NPC,{
OnPCDieEvent:
if (strcharinfo(3) == "prontera") {
warp "prontera",150,150,0;
atcommand "@raise";
}
end;
}