MysticalMist
Well-known member
My main goal is to have the player's MP start at 0 when they spawn in instead of being full right away.
So far, all I've done was create a small script that looks like this:
void main(){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);
}
From there, I made that an onspawn script. It seems to work initially, but if the player dies, the MP fills up on the next life. Any pointers or advice?
So far, all I've done was create a small script that looks like this:
void main(){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);
}
From there, I made that an onspawn script. It seems to work initially, but if the player dies, the MP fills up on the next life. Any pointers or advice?