OrPHP Code:function onCreated()
setshape(1, 32, 32);
function onActionDied()
setlevel2("levelname", x, y);
//#CLIENTSIDE
function onPlayerDies()
triggeraction(x + 0.5, y + 0.5, "Died", null);
PHP Code://#CLIENTSIDE
function onPlayerDies() { //function for when the player dies
setlevel2("Name.nw",X,Y); //syntax: setlevel2(LevelNameInString,x,y);
}
I can't really understand what you mean by spawning?
The above is for when a player dies, spawn.
Spoiler





Reply With Quote