hello, I know most of ppl knows what
but I want to know, how to say if notified, for ex:Code:self notify("notify");
?Code:if(self isnotified("death"))
I mean if notify got in if condition
hello, I know most of ppl knows what
but I want to know, how to say if notified, for ex:Code:self notify("notify");
?Code:if(self isnotified("death"))
I mean if notify got in if condition
Em, why do you want to do that?
No one do this.
You got ways.
Or you can do like.self waititll("death");
But it all depends on what you are going to do....self notify("one");
i = 1;
if(i = 1)
{
**
}
So you just make a like X as 0 or 1.
And when you want to check if the player died,
then we set x to equal 1.self waittill("death");
x = 1;
But if the player isn't dead,
But since you don't say what you need it for or how your going to use it.self waittill("player_respawned");
x = 0;
I am just telling you something that I guess is what you seek.
So if your after a specific answer, then you need the question it specific.
Last edited by Jorndel; 08-30-2011 at 01:40 AM.
I use the most of the time: self notify("idk"); and for the check self endon("idk");
Depends what u need. Jorndel his code works too =D