Jump to content

Gireada

V.I.P
  • Posts

    2,688
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Gireada

  1. Unde este folosit functia Refresh?
  2. Deci tu ai o problema la Plate sau la 3DText?
  3. Pune in pastebin OnPlayerRegister adica partea mysql cu INSERT
  4. Trebuie sa folosesti functia SetVehicleToRespawn dupa ce ai setat numerele de inmatriculare. The vehicle must be re-spawned or re-streamed for the changes to take effect.
  5. incearca sa pui 2 in loc de 1 sa vezi
  6. if(strcmp(action,"chat",true) == 0) { new stringg[256]; new aim[2000]; mysql_format(handle, stringg, sizeof(stringg), "SELECT * FROM `chatlogs` WHERE ID = %d", playerVariables[id][pID]); new test[256], test2[256]; new Cache: result12 = mysql_query (handle, stringg); new i = cache_get_row_count(); if(i > 10) { for(i = cache_get_row_count(); i > cache_get_row_count()-10; i--) { cache_get_field_content(i, "text", test); cache_get_field_content(i, "time", test2); format(aim,sizeof(aim),"%s[%s] %s\n",aim, test2, test); ShowPlayerDialog(playerid, 256, DIALOG_STYLE_MSGBOX, "chat for player", aim, "Close", ""); } } else { for(i = cache_get_row_count(); i > 1; i--) { cache_get_field_content(i, "text", test); cache_get_field_content(i, "time", test2); format(aim,sizeof(aim),"%s[%s] %s\n",aim, test2, test); ShowPlayerDialog(playerid, 256, DIALOG_STYLE_MSGBOX, "chat for player", aim, "Close", ""); } } cache_delete(result12); } Asa arata.
  7. Gireada

    problema DMV

    Pai alea sunt masinile de la DMV normal ca iti vor merge.
  8. for(i = cache_get_row_count(); i > cache_get_row_count()-10; i--)
  9. for(i = cache_get_row_count(); i < cache_get_row_count()-10; i--)
  10. La OnGameModeInit pui DisableInteriorEnterExits();
  11. Pune mysql_debug(1); in functia ongamemodeinit
  12. for(new i = cache_get_row_count(), i < cache_get_row_count()-10; i--) { cache_get_field_content(i, "text", test); cache_get_field_content(i, "time", test2); format(aim,sizeof(aim),"%s[%s] %s\n",aim, test2, test); ShowPlayerDialog(playerid, 2000, DIALOG_STYLE_MSGBOX, "chat for player", aim, "Close", ""); Incearca asa
  13. Daca iti aparea Unknow s-ar putea sa nu ai toate pluginurile.
  14. SUCCES: Conexiunea la baza de date`gs534` a fost stabilita!
  15. Cu ffunctia GivePlayerMoney(playerid, P_Data[playerid][bani]);
  16. format(string2, sizeof(string2),"Player-ul %s ,locuieste in %s , are varsta de %d ,avand sex %d si are in portofel %d$\nAdmin:%d",name,oras1,varsta1,sex1,bani1,admin1);
  17. if(vehicleVariables[newcar][vVehicleJob] == 9 && playerVariables[playerid][pJob] == 9 && work[playerid] == 0) { SendClientMessage(playerid, COLOR_YELLOW, "Use /collecttrash to start your job."); }
  18. CMD:collecttrash(playerid,params[]) { new newcar = GetPlayerVehicleID(playerid); if(vehicleVariables[newcar][vVehicleJob] == 9 && playerVariables[playerid][pJob] == 9) { SetPlayerCheckpoint(playerid, 2196.4490,-1977.1947,13.5527, 2.0); CP[playerid] = 1500; playerVariables[playerid][pTRoute] = 1; SendClientMessage(playerid, COLOR_WHITE,"{FFEE00}INFORMATII JOB: {FFFFFF}Te rog, mergi la checkpoint-ul pus pe harta pentru a putea incepe munca."); work[playerid] = 1; } else SendClientMessage(playerid, COLOR_WHITE,"You are not a garbage man or you aren't in a Trashmaster."); return 1; } Cauti unde ai definit variabila work si o faci work[MAX_PLAYERS], iar la terminarea jobului pui work[playerid] = 0; . Iar peste tot unde ai work pui work[playerid] .
  19. Pai arata-ne toata comanda, caci cu ce ne-ai dat tu, nu te putem ajuta.
  20. Ar trebuie sa clonezi tot ce tine pe vPcarKey2 si sa-l denumesti vPcarKey3, in fiecare functie, fiecare comanda, fiecare timer.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.