car owner prob.
#1

hey wuts on my code wrong ?
PHP код:
  if(getplayervehicle(playerid) && if(GetPlayer[vehicleid][owner] == )
 {
GetVehicleParamsEx(vehicleidenginelightsalarmdoorsbonnetbootobjective);
  
SetVehicleParamsEx(vehicleid,enginelightsalarm0bonnetbootobjective);
  }
  }
return 
1
error 010: invalid function or declaration
error 010: invalid function or declaration
2 Errors
Reply
#2

pawn Код:
if(GetPlayerVehicleID(playerid) && GetPlayer[vehicleid][owner] == 1)
{
    new vehicleid, engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehicleid,engine, lights, alarm, 0, bonnet, boot, objective);
}
return 1;
that is the first error i saw

pawn Код:
if(getplayervehicle(playerid) && if(GetPlayer[vehicleid][owner] == 1 )
pawn is case sensetive ( i dont know write this word well )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)