havent learned a new concept in a long time so heres what i got
i tried this but still wont set the level
PHP Code:
function onActionServerSide() {
if (params[0] == "respawn") {
player.setlevel2("milgmap_ab-ae.nw", 9, 60);
player.setAni("dead", NULL);
clientr.hp == 100;
}
}
//#CLIENTSIDE
function onActionProjectile()
{
if (clientr.hp>=0) {
setani hurt,;
clientr.hp -= 20;
}
else
{
dead;
}
}
function Dead() {
triggerserver("gui", this.name, "respawn");