Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

[Ajuda] Ajuda urgente.

$
0
0
Alguém sabe porquê esses erros?

Codigos:

PHP Code:

if (GetFactionType(i) == FACTION_POLICE)
            {
               if (
pFactionRank(i) == 1)
             {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
               if (
pFactionRank(i) == 2)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 3)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 4)
            {
                
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 5)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 6)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
               if (
pFactionRank(i) == 7)
            {
                
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 8)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 9)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 10)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 11)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 12)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 13)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
            if (
pFactionRank(i) == 14)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                
PlayerData[i][pBankMoney] += 1500;
             }
            if (
pFactionRank(i) == 15)
            {
                  
SendClientMessageEx(iCOLOR_WHITE"Salário: +3200.");
                  
PlayerData[i][pBankMoney] += 1500;
            }
                return 
1;
            } 

ERROS:
PHP Code:

C:\Users\XR7550\Desktop\South RP\gamemodes\roleplay.pwn(14778) : error 012invalid function callnot a valid address
C
:\Users\XR7550\Desktop\South RP\gamemodes\roleplay.pwn(14778) : warning 215expression has no effect
C
:\Users\XR7550\Desktop\South RP\gamemodes\roleplay.pwn(14778) : error 001expected token";"but found ")"
C:\Users\XR7550\Desktop\South RP\gamemodes\roleplay.pwn(14778) : error 029invalid expressionassumed zero
C
:\Users\XR7550\Desktop\South RP\gamemodes\roleplay.pwn(14778) : fatal error 107too many error messages on one line

Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


4 Errors



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>