Command work but doesn't update.
#5

Код:
else if(!strcmp(tmp, "job", true, 3))
  {
      if(!IsPlayerInAnyVehicle(playerid)) return SendClientError(playerid, "You are not in any vehicle!");
      if(GetAdminLevel(playerid) < 10) return SendClientError(playerid, CANT_USE_CMD);
    if(!strlen(tmp2) || IsNumeric(tmp2) || strlen(tmp2) > MAX_PLAYER_NAME) return SCP(playerid, "job [name]");
    dini_IntSet(CarFile(GetPlayerVehicleID(playerid)), "jobname", tmp2);
    SendClientInfo(playerid, "Success: The job has been updated to this vehicle.");
    myStrcpy(Vehicles[GetPlayerVehicleID(playerid)][jobname], tmp2);
  }
Reply


Messages In This Thread
Command work but doesn't update. - by MrAjusshi - 30.07.2017, 16:15
Re: Command work but doesn't update. - by Shinja - 30.07.2017, 16:46
Re: Command work but doesn't update. - by MrAjusshi - 30.07.2017, 16:56
Re: Command work but doesn't update. - by mongi - 30.07.2017, 17:09
Re: Command work but doesn't update. - by CombatZombie - 30.07.2017, 17:12
Re: Command work but doesn't update. - by mongi - 30.07.2017, 17:15
Re: Command work but doesn't update. - by MrAjusshi - 30.07.2017, 17:47
Re: Command work but doesn't update. - by Shinja - 30.07.2017, 17:49

Forum Jump:


Users browsing this thread: 4 Guest(s)