Jump to content

IcE.

Membru
  • Posts

    1.094
  • Joined

  • Last visited

Everything posted by IcE.

  1. IcE.

    Wanted time

    Nu stiu sigur daca e bun sau nu. Intra in gm cauta linia: [pawn] if(newstate == PLAYER_STATE_WASTED) [/pawn] Mai jos ai ceva de genu: [pawn] PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600); [/pawn] Si inlocuiesti cu [pawn] if(WantedLevel[playerid] == 1) { PlayerInfo[playerid][pJailTime] = 60; } else if(WantedLevel[playerid] == 2) { PlayerInfo[playerid][pJailTime] = 120; } else if(WantedLevel[playerid] == 3) { PlayerInfo[playerid][pJailTime] = 180; } else if(WantedLevel[playerid] == 4) { PlayerInfo[playerid][pJailTime] = 240; } else if(WantedLevel[playerid] == 5) { PlayerInfo[playerid][pJailTime] = 300; } else if(WantedLevel[playerid] == 6) { PlayerInfo[playerid][pJailTime] = 360; } [/pawn] Si daca ai comanda /surrender lafel faci numa ca acolo timpu cred ca e mai mic.
  2. IcE.

    [MAP]Blocaj

    Fi serior tancuri? Doua avioane prabusite , si unu langa altu. E una din cele mai slabe mape vazute vrodata. Sper ca nu te superi dar nu are nici un sens mapa asta...
  3. [pawn]//OnGameModeInit ShowPlayerMarkers(x);//pui 0/1/2 in loc de x //PLAYER_MARKERS_MODE_OFF (0) //nu apar deloc //PLAYER_MARKERS_MODE_GLOBAL (1) //apar normal //PLAYER_MARKERS_MODE_STREAMED (2) //apar decat in apropiere [/pawn]
  4. IcE.

    Ajutor AVS

    Fi atent. Pe la inceput de FS ai asa ceva. [pawn] #define DIALOG_NONE 12345 #define DIALOG_ERROR 12346 #define DIALOG_VEHICLE 500 #define DIALOG_VEHICLE_BUY 501 #define DIALOG_VEHICLE_SELL 502 #define DIALOG_FINDVEHICLE 503 #define DIALOG_TRUNK 504 #define DIALOG_TRUNK_ACTION 505 #define DIALOG_VEHICLE_PLATE 507 #define DIALOG_FUEL 510 #define DIALOG_EDITVEHICLE 606 [/pawn] Tu in loc de nr-u ala pui alt nr. numa sa nu coincida cu careva din gm. Am facut eu ceva. [pawn] #define DIALOG_NONE 13500 #define DIALOG_ERROR 13501 #define DIALOG_VEHICLE 13502 #define DIALOG_VEHICLE_BUY 13503 #define DIALOG_VEHICLE_SELL 13504 #define DIALOG_FINDVEHICLE 13505 #define DIALOG_TRUNK 13506 #define DIALOG_TRUNK_ACTION 13507 #define DIALOG_VEHICLE_PLATE 13508 #define DIALOG_FUEL 13509 #define DIALOG_EDITVEHICLE 13509 [/pawn]
  5. IcE.

    Pawno Problem

    posteaza si erorile
  6. IcE.

    Pawno Problem

    posteazale sa vedem ce are , dar postezi si linile
  7. IcE.

    Pawno Problem

    Adauga include streamer in pawno->include.
  8. IcE.

    Ajutor AVS

    +report (3x post)
  9. [pawn] //OnDialogResponse new sendername[MAX_PLAYER_NAME]; [/pawn]
  10. IcE.

    BankMoney

    acea e o functie care pune "." dupa 3 numere. Cea ce vrei tu se face cu un TD
  11. IcE.

    BankMoney

    Nu prea cred ca am inteles ce vrei dar cred ca te referi la un td cu bani din bank nu? Pai fa un td nou sub forma celui actual, dati lvl 1 wanted si mutal exact sub el si pe urma iei cordonatele: ex: [pawn] banktd = TextDrawCreate(x, y, "$0000000000"); [/pawn] Si le adaugi la cel care il folosesti. EDIT: nu stiu sigur daca sunt chear bune 545 , 137
  12. Na fost scris bine Incerca sal refaci dupa tutorialul asta: http://www.sa-mp.ro/forum/index.php/topic,5160.0.html
  13. Am facut un UP la functi! Sper ca acum sa "mearga" mai bine.
  14. Deci sa inteleg ca sa te loghezi folosesti /login nu? Incerca sa pui un dialog in loc de comenzile /register & /login
  15. Ai gresit ceva cand ai copiat/scris (daca ai pus dialog la register/login). Daca folosesti GF, adauga la /register /login functia: [pawn] Encrypt(tmppass); [/pawn]
  16. Mai bine taceai. PS:nu mai "trezi" topicurile.
  17. Balustrada - Parapeti - http://ingemaxcrane.infoconstruct.ro/clienti/poze/PARAPETI-METALICI-RUTIERI-info856.jpeg Eu zic ca e o diferenta de la balustrada la parapeti.
  18. pare corect, nu stiu ce sa zic....
  19. 1.Posteaza tot ce are legatura cu register/login. 2La ongamemode gasesti TD-U
  20. Posteaza ultimile lini din server_log
  21. problema GF uitete la comanda /ticket de la pd si fa dupa ia
  22. atunci sterge ce ai pus , si intra in include streamer.inc si cauta native CreateDynamicObject si inlocuiresti toata funcita cu cea de jos native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
  23. adauga la finalul fiecarui obiect 200.0 ex CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, -1, -1, -1, 200.0);
  24. ce streamer folosesti?
  25. IcE.

    /fixveh

    [tt]public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSED(KEY_x)) { if(IsPlayerInAnyVehicle(playerid)) { RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xFFFFFFFF, "Vehicle Fixed !"); } } return 1; }[/tt] In loc de KEY_x schimbi cu key de aici http://wiki.sa-mp.com/wiki/GetPlayerKeys
×
×
  • 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.