[Ajuda] Licenзas
#9

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
Dialog de comprar armas.

pawn Код:
if (!PlayerInfo[playerid][pGunLic])
    return SendClientMessage(playerid, -1, "Vocк nгo possui porte legal de armas, por isso nгo pode adquirir uma!");
Tambйm pode acrescentar em:
pawn Код:
public SetPlayerUnjail() {

    for ( new i; i < MAX_PLAYERS; ++i ) {
   
            if (IsPlayerConnected(i) ) {
           
                if (!PlayerInfo[i][pGunLic] && 1 <= GetPlayerWeapon(i) <= 47 ) {

                    ResetPlayerWeapons(i);
                    SendClientMessage(i, -1, "Sem licenзa! Armas retiradas!");
                }
            }
    }

    return true;
}
Bom coloquei essa funзгo em public SetPlayerUnjail , Ocorreu 26 erros.
PHP код:
C:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(1276) : warning 219local variable "X" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(1276) : warning 219local variable "Y" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(1276) : warning 219local variable "Z" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(3904) : warning 219local variable "level" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(3946) : warning 219local variable "level" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(3988) : warning 219local variable "level" shadows a variable at a preceding level
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7968) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7973) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7978) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7984) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7986) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7991) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7992) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7993) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7994) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7995) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7996) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7997) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7998) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(7999) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8000) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8001) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8002) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8003) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8004) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8006) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8010) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8013) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8016) : error 021symbol already defined"F_SetPlayerPos"
C:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8018) : error 010invalid function or declaration
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8021) : error 021symbol already defined"F_SetPlayerPos"
C:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8021) : warning 215expression has no effect
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8021) : warning 215expression has no effect
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(8021) : error 001expected token";"but found ")"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Reply


Messages In This Thread
Licenзas - by Powers - 24.07.2013, 21:50
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:02
Re: Licenзas - by Powers - 24.07.2013, 22:06
Re: Licenзas - by ProKillerpa - 24.07.2013, 22:13
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:16
Re: Licenзas - by Powers - 24.07.2013, 22:22
Re: Licenзas - by LucaAllexandre - 24.07.2013, 22:27
Re: Licenзas - by Gii - 24.07.2013, 22:29
Re: Licenзas - by Powers - 24.07.2013, 22:34
Re: Licenзas - by Powers - 25.07.2013, 00:20

Forum Jump:


Users browsing this thread: 1 Guest(s)