29.07.2013, 00:39 
	
	
	
		Pessoal criei essa public para mostrar pro passageiro no velocimetro , Motor: On , Motor: OFF
Ai da um erro olhe
erro:
public:
	
	
	
	
Ai da um erro olhe
erro:
PHP код:
BMG.pwn(39124) : error 025: function heading differs from prototype 
PHP код:
public MotorPet(newstate, vehicleid, ispassenger)
{
 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);
    }
}
} 





 
	