Hey Leute ich habe irgendwie ein Error bekommen aber weis nicht woran es liegt
Function:
Function CreateSupCar(playerid, carid,Float:cX, Float:cY, Float:cZ)
{
[color=#ff0000]GetPlayerPos(playerid, cX, cY, cZ);[/color]//Fehler Zeile
supmobil[playerid] = CreateVehicle(carid, cX, cY, cZ, 0, 0, 0, 0);
PutPlayerInVehicle(playerid, supmobil[playerid], 0);
format(stringx, sizeof(stringx), "Supporter Car von %s", MeinName(playerid));
suptext[playerid] = Create3DTextLabel(stringx, COLOR_GOLD, 0.0, 0.0, 0.0, 30.0, 0, 1);
Attach3DTextLabelToVehicle(suptext[playerid], supmobil[playerid], 0.0, 0.0, 0.3);
suplabeltimer[playerid] = SetTimerEx("SupLabel", 10000, 1, "i", playerid);
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(supmobil[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(supmobil[playerid],VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
return 1;
}
Der Fehler:
error 035: argument type mismatch (argument 2)
Wäre nett wenn ihr helfen könntet