Need Help With Custom Number Plates
#4

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
pawn Код:
stock
    setVehicleNumberPlate ( vehicleid, numberplate [ ] )
{
    new
        Float:vX,
        Float:vY,
        Float:vZ,
        Float:vA,
        Float:vH,
        vPanels,
        vDoors,
        vLights,
        vTires,
        vEngine,
        vLight,
        vAlarm,
        vDoor,
        vBonnet,
        vBoot,
        vObjective
    ;

    GetVehicleHealth            ( vehicleid, vH );
    GetVehicleDamageStatus      ( vehicleid, vPanels, vDoors, vLights, vTires );
    GetVehicleParamsEx          ( vehicleid, vEngine, vLight, vAlarm, vDoor, vBonnet, vBoot, vObjective );
    GetVehiclePos               ( vehicleid, vX, vY, vZ );
    GetVehicleZAngle            ( vehicleid, vA );
    SetVehicleNumberPlate       ( vehicleid, numberplate );

    printf ( "%d | %d | %d | %d", vPanels, vDoors, vLights, vTires );
    SetVehicleToRespawn         ( vehicleid );

    SetVehicleHealth            ( vehicleid, vH );
    UpdateVehicleDamageStatus   ( vehicleid, vPanels, vDoors, vLights, vTires );
    SetVehicleParamsEx          ( vehicleid, vEngine, vLight, vAlarm, vDoor, vBonnet, vBoot, vObjective );
    SetVehiclePos               ( vehicleid, vX, vY, vZ );
    SetVehicleZAngle            ( vehicleid, vA );
    return 1;
}
pawn Код:
COMMAND:vnp( playerid, params [ ] )
{
    setVehicleNumberPlate ( GetPlayerVehicleID ( playerid ), params );
    return 1;
}
Dude, is there an inc thats needed with that?? it gave me this

Код:
C:\Users\Jack\Desktop\samp\filterscripts\plate.pwn(69) : error 017: undefined symbol "params"
C:\Users\Jack\Desktop\samp\filterscripts\plate.pwn(70) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Need Help With Custom Number Plates - by Jack_Rocker - 04.01.2011, 19:43
Re: Need Help With Custom Number Plates - by Sascha - 04.01.2011, 19:51
Re: Need Help With Custom Number Plates - by Retardedwolf - 04.01.2011, 19:54
Re: Need Help With Custom Number Plates - by Jack_Rocker - 04.01.2011, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)