Correct?
#1

Is this correct as I get this error
Код:
C:\Users\BooNii3\Foxx RP\Clean Script (Windows)\Server Files\gamemodes\tAxIFRB.pwn(3046) : error 035: argument type mismatch (argument 2)
C:\Users\BooNii3\Foxx RP\Clean Script (Windows)\Server Files\gamemodes\tAxIFRB.pwn(3063) : error 035: argument type mismatch (argument 2)
pawn Код:
/*Line 3046*/       if (GetVehicleParamsEx(GetPlayerVehicleID(playerid),VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective))
            {
                Textdraw1 = TextDrawCreate(520.000000,116.000000,"Engine:");
                Textdraw3 = TextDrawCreate(559.000000,120.000000,"Off");
                TextDrawAlignment(Textdraw1,0);
                TextDrawAlignment(Textdraw3,0);
                TextDrawBackgroundColor(Textdraw1,0x000000ff);
                TextDrawBackgroundColor(Textdraw3,0x000000ff);
                TextDrawFont(Textdraw1,0);
                TextDrawLetterSize(Textdraw1,0.399994,1.600000);
                TextDrawFont(Textdraw3,2);
                TextDrawLetterSize(Textdraw3,0.299999,1.100000);
                TextDrawColor(Textdraw1,0xffffffff);
                TextDrawColor(Textdraw3,0xff0000cc);
                TextDrawSetOutline(Textdraw1,1);
                TextDrawSetOutline(Textdraw3,1);
            }
    /*Line 3063*/       if (GetVehicleParamsEx(GetPlayerVehicleID(playerid),VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective))
            {
                Textdraw1 = TextDrawCreate(520.000000,116.000000,"Engine:");
                Textdraw2 = TextDrawCreate(559.000000,120.000000,"On");
                TextDrawAlignment(Textdraw1,0);
                TextDrawAlignment(Textdraw2,0);
                TextDrawBackgroundColor(Textdraw1,0x000000ff);
                TextDrawBackgroundColor(Textdraw2,0x000000ff);
                TextDrawFont(Textdraw1,0);
                TextDrawLetterSize(Textdraw1,0.399994,1.600000);
                TextDrawFont(Textdraw2,2);
                TextDrawLetterSize(Textdraw2,0.399999,1.000000);
                TextDrawColor(Textdraw1,0xffffffff);
                TextDrawColor(Textdraw2,0x00ff00ff);
                TextDrawSetOutline(Textdraw1,1);
                TextDrawSetOutline(Textdraw2,1);
            }
        }
Reply


Messages In This Thread
Correct? - by Luis- - 25.12.2010, 21:57
Re: Correct? - by Hal - 25.12.2010, 21:58
Re: Correct? - by Luis- - 25.12.2010, 22:00
Re: Correct? - by Hal - 25.12.2010, 22:01
Re: Correct? - by Luis- - 25.12.2010, 22:02
Re: Correct? - by Hal - 25.12.2010, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)