Advertisement
BlueX

[PAWN]: Tutorial 4 [JOBS]

Aug 8th, 2012
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.38 KB | None | 0 0
  1. public Payday(){
  2.     for(new i; i<GetMaxPlayers(); ++i){
  3.         if(player_jobs[i] == PLAYER_JOB_DESEMPREGADO)
  4.             GivePlayerMoney(playerid,PAY_JOB_DESEMPREGADO)
  5.         else if(player_jobs[i] == PLAYER_JOB_ADVOGADO)
  6.             GivePlayerMoney(playerid,PAY_JOB_ADVOGADO)
  7.         else if(player_jobs[i] == PLAYER_JOB_TAXISTA)
  8.             GivePlayerMoney(playerid,PAY_JOB_TAXISTA)
  9.         //O resto do seu codigo...  
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement