Tag mismatch help.
#4

Since Posx, Posy, Posz and Ang are used as variables of the type 'float', you have to give them Float: tag inside the function header as well. Your function declaration should look like:

pawn Код:
stock VehicleCreate(Modelo, Float:Posx, Float:Posy, Float:Posz, Float:Ang, Color1, Color2, Pintura, Dueno[], Nombre[], Spoiler, DefensaD, DefensaT, Lampara, Hidraulicos, Ruedas, Escape, Capo, Techo, Ventanillas, Nitro)
For more about 'tags', check this article!

Edit:

Quote:
Originally Posted by Edugta.
Посмотреть сообщение
pawn Код:
VehicleCreate(Modelo, Posx, Posy, Posz, Ang, Color1, Color2, Pintura, Dueno[], Nombre[], Spoiler, DefensaD, DefensaT, Lampara, Hidraulicos, Ruedas, Escape, Capo, Techo, Ventanillas, Nitro)
pawn Код:
VehicleCreate(Vehiculo[vehicleid][vModelo], Posx, Posy, Posz, Ang, Color1, Color2, Vehiculo[vehicleid][vPaintjob], Vehiculo[vehicleid][vDueno], Vehiculo[vehicleid][vNombre], Vehiculo[vehicleid][vPlaca], Vehiculo[vehicleid][vSpoiler], Vehiculo[vehicleid][vDefensaD], Vehiculo[vehicleid][vDefensaT], Vehiculo[vehicleid][vLampara], Vehiculo[vehicleid][vHidraulicos], Vehiculo[vehicleid][vRuedas], Vehiculo[vehicleid][vEscape], Vehiculo[vehicleid][vCapo], Vehiculo[vehicleid][vTecho], Vehiculo[vehicleid][vVentanillas], Vehiculo[vehicleid][vNitro]);
Looks like you've got an extra param in the function, "Vehiculo[vehicleid][vPlaca]".

Have you tried removing it?

PD: otro venezolano
No, there are no extra params in the function. If he had an extra param, it'd throw "Number of arguments does not match definition".
Reply


Messages In This Thread
Tag mismatch help. - by Cepillado300 - 09.02.2014, 18:46
Respuesta: Tag mismatch help. - by Cepillado300 - 10.02.2014, 23:16
Respuesta: Tag mismatch help. - by EduGTA - 10.02.2014, 23:28
Re: Tag mismatch help. - by [KHK]Khalid - 10.02.2014, 23:28
Respuesta: Tag mismatch help. - by Cepillado300 - 11.02.2014, 00:18

Forum Jump:


Users browsing this thread: 2 Guest(s)