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

[Ajuda] ERRO MUITO ESTRANHO

$
0
0
Erros que ta dando meus amigos
Quote:

C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : warning 219: local variable "GivePlayerWeapon" shadows a variable at a preceding level
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : error 001: expected token: ";", but found "("
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : warning 215: expression has no effect
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : error 029: invalid expression, assumed zero
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : warning 215: expression has no effect
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : error 001: expected token: ";", but found "]"
C:\Users\Lan\Desktop\GTA Rio Facções\gamemodes\gtafaccoes.pwn(8962) : fatal error 107: too many error messages on one line
PHP Code:

new Arma[14], Municion[14]; 

linha do erro e o sistema agora
PHP Code:

stock DropWeapons(playerid)
{
    new 
Arma[14], Municion[14];
    new 
Float:XFloat:YFloat:Z;
    
GetPlayerPos(playeridXYZ);

    for(new 
wep 0wep 14wep ++)
    {
        
// Obtener la informacion de armas del jugador
        
GetPlayerWeaponData(playeridwepArma[wep], Municion[wep]);

        if(
PickupID[Arma[wep]] != -1)
        {
            new 
model PickupID[Arma[wep]];
            new 
randid random(300);
            new 
Float:X2 + (random(3) - random(3));
            new 
Float:Y2 + (random(3) - random(3));
            
Pickup[randid] = CreatePickup(model4X2Y2Z);

            
SetTimerEx("DestruirPickupCaido"25 1000false"d"randid);
        }
    }


alguem que possa me ajudar?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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