Hallo Community,
hier mein fehler
C:\Users\KorayAhmet\Downloads\San Andreas Server\gamemodes\dnr.pwn(32823) : error 029: invalid expression, assumed zero
C:\Users\KorayAhmet\Downloads\San Andreas Server\gamemodes\dnr.pwn(32826) : error 035: argument type mismatch (argument 3)
C:\Users\KorayAhmet\Downloads\San Andreas Server\gamemodes\dnr.pwn(32827) : error 035: argument type mismatch (argument 3)
C:\Users\KorayAhmet\Downloads\San Andreas Server\gamemodes\dnr.pwn(32834) : error 035: argument type mismatch (argument 3)
C:\Users\KorayAhmet\Downloads\San Andreas Server\gamemodes\dnr.pwn(32835) : error 035: argument type mismatch (argument 3)
if(strcmp(cmd,"/flock", true) == 0)
{
if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
if(fcarspawn[playerid]==1
{
if (fcarlocked[playerid] == 1)
{
GetVehicleParamsEx(Fcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(Fcar[playerid],engine,lights,alarm,VEHICLE_PARAMS_OFF,bonnet,boot,objective);
fcarlocked[playerid] = 0;
GameTextForPlayer(playerid, "~w~Auto ~g~aufgeschlossen", 5000, 6);
return 1;
}
else if (fcarlocked[playerid] == 0)
{
GetVehicleParamsEx(Fcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(Fcar[playerid],engine,lights,alarm,VEHICLE_PARAMS_ON,bonnet,boot,objective);
GameTextForPlayer(playerid,"~w~Auto ~r~abgeschlossen", 5000, 6);
fcarlocked[playerid] = 1;
return 1;
}
}
}
}