ChangeVehiclePaintJob not working?
#1

I made a command to change the player's vehicle paint job to 0.

Here it is:

pawn Код:
if(strcmp(cmd, "/paint", true) == 0)
    {
      new vehicleid = GetPlayerVehicleID(playerid);

        if(IsPlayerInAnyVehicle(playerid))
        {
          ChangeVehiclePaintJob(vehicleid, 0);
        }

        else return SendClientMessage(playerid, COLOR_RED, "[ERROR]: You need to be in a vehicle!");

        return 1;
    }
But I get the errors:

Код:
C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\TWoS.pwn(1479) : error 017: undefined symbol "ChangeVehiclePaintJob"
C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\TWoS.pwn(1475) : warning 204: symbol is assigned a value that is never used: "vehicleid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Edit: My stupidity level is over 9000 o_O
Reply


Messages In This Thread
ChangeVehiclePaintJob not working? - by TheAngel105 - 14.03.2009, 17:36
Re: ChangeVehiclePaintJob not working? - by Sandra18[NL] - 14.03.2009, 17:42
Re: ChangeVehiclePaintJob not working? - by ICECOLDKILLAK8 - 14.03.2009, 17:43
Re: ChangeVehiclePaintJob not working? - by _TeRmiNaToR_ - 14.03.2009, 19:13
Re: ChangeVehiclePaintJob not working? - by MenaceX^ - 14.03.2009, 19:19
Re: ChangeVehiclePaintJob not working? - by TheAngel105 - 14.03.2009, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)