Results 1 to 3 of 3
  1. #1
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine

    Exclamation how to say if notified?

    hello, I know most of ppl knows what
    Code:
    self notify("notify");
    but I want to know, how to say if notified, for ex:
    Code:
    if(self isnotified("death"))
    ?

    I mean if notify got in if condition

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by dsds1 View Post
    hello, I know most of ppl knows what
    Code:
    self notify("notify");
    but I want to know, how to say if notified, for ex:
    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.

    self waititll("death");
    Or you can do like.
    self notify("one");
    i = 1;

    if(i = 1)
    {
    **
    }
    But it all depends on what you are going to do....


    So you just make a like X as 0 or 1.
    And when you want to check if the player died,
    self waittill("death");
    x = 1;
    then we set x to equal 1.
    But if the player isn't dead,
    self waittill("player_respawned");
    x = 0;
    But since you don't say what you need it for or how your going to use it.
    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.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    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

Similar Threads

  1. Replies: 8
    Last Post: 08-04-2010, 10:11 PM
  2. how to say hi
    By winordie11 in forum Spammers Corner
    Replies: 0
    Last Post: 12-10-2009, 03:38 PM
  3. how to say i like a girl in that way
    By napster835 in forum General
    Replies: 64
    Last Post: 09-24-2009, 02:35 PM
  4. how to say words that you can not say on ca
    By jjneshi in forum General
    Replies: 2
    Last Post: 04-12-2009, 11:17 AM
  5. how to say words you cant on ca
    By jjneshi in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 04-12-2009, 10:48 AM