Quote:
Originally Posted by iggy1
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