[Ajuda] Erro na public !
#3

Quote:
Originally Posted by PT
Посмотреть сообщение
tenta so assim

pawn Код:
public MotorPet(vehicleid)
{
    new velopet5[128];
    for (new i=0; i<MAX_PLAYERS; i++)
    {
        if(newstate == PLAYER_STATE_PASSENGER)
        {
            if(motor[i] == 1)
            {
                format(velopet5,sizeof(velopet5),"~r~~h~~h~~h~~h~Motor: ~w~Ligado");
            }
            else if(motor[i] == 0)
            {
                format(velopet5,sizeof(velopet5),"~r~~h~~h~~h~~h~Motor: ~w~Desligado");
            }
            TextDrawSetString(MotorOnOFF[i], velopet5);
        }
    }
}
deu erro,

PHP код:
C:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(39124) : error 025: function heading differs from prototype
C
:\Users\PetrickSchoba\Desktop\BRPG\gamemodes\BMG.pwn(39129) : error 017undefined symbol "newstate"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
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)