Hey COmmunity ich komm nicht mehr klar mit diesem befehl bitte um hilfe
if(strcmp("/weste nehmen", cmdtext, true, 10) == 0)
{
new vid=GetPlayerVehicleID(playerid);
new engine,lights,alarm,doors,bonnet,objective;
if(IstSpielerInFraktion(playerid, 5))
{
if(!IsPlayerNearVehicle(playerid)) return SendClientMessage(playerid,Rot,"Du bist nicht am Kofferraum.");
{
if(GetPlayerSkin(playerid) == 119)
{
if(GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,0,objective))
{
SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);//Weste
SetPlayerArmour(playerid,100);
}
}
}
}
}
Er meint bei if(GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,0,objective)) da meint er die 0 wäre falsch hier der Error
Error:C:\Users\Maximilian\Desktop\SAMP Server in FC\gamemodes\new.pwn(1290) : error 035: argument type mismatch (argument 7)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.