Jump to content

Lio

Member
  • Posts

    8
  • Joined

  • Last visited

About Lio

Recent Profile Visitors

467 profile views

Lio's Achievements

  1. Username:Lio Problemă întâlnită:Un warning la o functie Detalii despre problemă:la aceasta linie imi da new Cache:result = mysql_query(handle, gQuery); warning 219: local variable "result" shadows a variable at a preceding level Ce ai încercat să faci înainte să postezi?:- Cod sursă (recomandat pastebin.com):https://pastebin.com/hxpdzQVJ Alte detalii:-
  2. Lio

    Problema dialog

    Oare problema este de aici: function LoadJob(){ new jobid, jobscount, tmp[180], string[200]; cache_get_data(rows, fields, handle); if(rows){ for(new i = 0; i < rows; i++){ jobscount++; cache_get_field_content(i, "JobID", tmp); jobid = strval(tmp); cache_get_field_content(i, "JobName", tmp); format(JobData[jobid][jName], 128, tmp); cache_get_field_content(i, "JobPosX", tmp); JobData[jobid][jPosX] = floatstr(tmp); cache_get_field_content(i, "JobPosY", tmp); JobData[jobid][jPosY] = floatstr(tmp); cache_get_field_content(i, "JobPosZ", tmp); JobData[jobid][jPosZ] = floatstr(tmp); cache_get_field_content(i, "JobTipe", tmp); format(JobData[jobid][jTip], 128, tmp); cache_get_field_content(i, "JobCity", tmp); format(JobData[jobid][jCity], 128, tmp); } } printf("Load jobs: %d", jobscount); return 1; } Decat primul si ultemele 3 joburi le afiseaza corect
  3. Lio

    Problema dialog

    https://imgur.com/gjPF5nM si acum ce are
  4. Username:Lio Problemă întâlnită:am facut comanda /jobs dar cand o execut in joc apare aiurea. Detalii despre problemă:imagine: https://imgur.com/a/Wspjqs2 Ce ai încercat să faci înainte să postezi?:am crezut ca este de la stringuri si le-am marit putin. Cod sursă (recomandat pastebin.com):https://pastebin.com/nvsuLwhb Alte detalii:
×
×
  • Create New...