[Ajuda] SetVehicleParamsEx_Fixed
#1

Alguem ae me ajuda? tб dando erros..

Quote:

C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : error 017: undefined symbol "SetVehicleParamsEx_Fixed"
C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : warning 215: expression has no effect
C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : error 029: invalid expression, assumed zero
C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : warning 215: expression has no effect
C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : error 029: invalid expression, assumed zero
C:\Documents and Settings\P.Henrique\Desktop\Nova pasta\gamemodes\WSA.pwn(3085) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
e й algo padrгo do sa-mp e nгo funfa aqui afs..

pawn Код:
SetVehicleParamsEx_Fixed(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective)~// parte do erro
        {
            SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
            if(alarm){
            KillTimer(Timer_VehAlarm[vehicleid]);
            Timer_VehAlarm[vehicleid] = SetTimerEx("DisableVehicleAlarm", 20000, false, "d", vehicleid);}
        }
cуdigos - Wiki
pawn Код:
new Timer_VehAlarm[MAX_VEHICLES];
SetVehicleParamsEx_Fixed(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective)
{
    SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    if(alarm){
    KillTimer(Timer_VehAlarm[vehicleid]);
    Timer_VehAlarm[vehicleid] = SetTimerEx("DisableVehicleAlarm", 20000, false, "d", vehicleid);}
}
 
forward DisableVehicleAlarm(vehicleid);
public DisableVehicleAlarm(vehicleid)
{
    new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehicleid, engine, lights, false, doors, bonnet, boot, objective);
}
Reply
#2

Alguйm?
Reply
#3

O cуdigo aparenta estar correto. Vocк declarou essa variбvel no inнcio do Gamemode, logo abaixo dos macros(#define), e colocou o restante no fim do script?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)