Argument Type Mis-match
#1

new paintjob = PlayerVehicleInfo[playerid][playervehicleid][pvPaintJob];
new color1 = PlayerVehicleInfo[playerid][playervehicleid][pvColor1];
new color2 = PlayerVehicleInfo[playerid][playervehicleid][pvColor2];
new plate = PlayerVehicleInfo[playerid][playervehicleid][pvPlate];
if(PlayerVehicleInfo[playerid][playervehicleid][pvPaintJob] != -1)
{
ChangeVehiclePaintjob(PlayerVehicleInfo[playerid][playervehicleid][pvId], paintjob);
ChangeVehicleColor(PlayerVehicleInfo[playerid][playervehicleid][pvId], color1, color2);
SetVehicleNumberPlate(PlayerVehicleInfo[playerid][playervehicleid][pvId], plate);
SetVehicleToRespawn(playervehicleid);

Whats wrong? I get an error "argument type mis-match" on the SetVehicleNumberPlate. What have I done wrong? The plate info is stored as "pvPlate".
Reply


Messages In This Thread
Argument Type Mis-match - by DamonD - 03.10.2013, 19:21
Re: Argument Type Mis-match - by DanishHaq - 03.10.2013, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)