Nothing happening!?
#7

Quote:
Originally Posted by iggy1
View Post
This is how i'd do it.
pawn Code:
switch( GetPVarInt( playerid, "Rank" ) )
    {
        case 1://rank 1
        {
            switch( PlayerOrg[playerid] )
            {
                case 2:// organisation id 2
                {
                    SendClientMessage(playerid,COLOR_WHITE,"You have received your paycheck!");
                    GivePlayerMoney(playerid,3200);
                }
            }
        }
       
        case 2://rank 2
        {
       
            switch( PlayerOrg[playerid] )
            {
           
                case 2:
                {
                    //...
                }
           
            }
       
        }
    }
EDIT: I don't know why indentation messed up its fine in the text editor.
Thanks, I will try this out
Reply


Messages In This Thread
Nothing happening!? - by Jstylezzz - 13.04.2012, 21:48
Re: Nothing happening!? - by ViniBorn - 13.04.2012, 21:52
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 21:53
Re: Nothing happening!? - by Sphex - 13.04.2012, 21:56
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 21:59
Re: Nothing happening!? - by iggy1 - 13.04.2012, 22:08
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 22:11
Re: Nothing happening!? - by iggy1 - 13.04.2012, 22:15
Re: Nothing happening!? - by ViniBorn - 13.04.2012, 22:17
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 22:19
Re: Nothing happening!? - by ViniBorn - 13.04.2012, 22:23
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 22:32
Re: Nothing happening!? - by iggy1 - 13.04.2012, 22:33
Re: Nothing happening!? - by Jstylezzz - 13.04.2012, 22:43
Re: Nothing happening!? - by Jstylezzz - 14.04.2012, 08:53

Forum Jump:


Users browsing this thread: 1 Guest(s)