[Ajuda] Erro na public !
#8

Quote:
Originally Posted by DiiMeNoR
Посмотреть сообщение
PHP код:
public MotorPet(newstatevehicleidispassenger[]) {
    new 
velopet5[128];
    for (new 
0MAX_PLAYERSi++) {
        if (
newstate == PLAYER_STATE_PASSENGER) {
            if (
motor[i] == 1) {
                
format(velopet5sizeof(velopet5), "~r~~h~~h~~h~~h~Motor: ~w~Ligado");
            } else if (
motor[i] == 0) {
                
format(velopet5sizeof(velopet5), "~r~~h~~h~~h~~h~Motor: ~w~Desligado");
            }
            
TextDrawSetString(MotorOnOFFvelopet5);
        }
    }

PHP код:
C:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(39122) : error 025: function heading differs from prototype
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(39131) : error 035argument type mismatch (argument 1)
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
Deu esses erros.
Reply


Messages In This Thread
Erro na public ! - by PetterAdriano - 29.07.2013, 00:39
Re: Erro na public ! - by PT - 29.07.2013, 00:44
Re: Erro na public ! - by PetterAdriano - 29.07.2013, 00:46
Re: Erro na public ! - by Juniiro3 - 29.07.2013, 00:50
Re: Erro na public ! - by PT - 29.07.2013, 00:52
Re: Erro na public ! - by PetterAdriano - 29.07.2013, 00:53
Re: Erro na public ! - by DiiMeNoR - 29.07.2013, 01:22
Re: Erro na public ! - by PetterAdriano - 29.07.2013, 01:47

Forum Jump:


Users browsing this thread: 1 Guest(s)