Jump to content

FratziAdv

Membru
  • Posts

    4
  • Joined

  • Last visited

About FratziAdv

  • Birthday 11/12/2000

Profile Information

  • Sex
    Masculin
  • Location
    127.0.0.1
  • In-game Name
    Shane/Fratzi
  • Level of knowledge
    Mediu

Contact Methods

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

FratziAdv's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Vreau in felul urmator: Cand jucatorul da Cancel la dialog sa il scoata din vehicul. Eu am jobul in felul urmator, mergi la un checkpoint, livrezi si dupa isi pune alt checkpoint de unde sa iti iei banii. Iar cand ajungi in checkpoint-ul din care iti iei banii iti apare dialog-ul respectiv. Iar cand dai cancel nu iti distruge vehiculul si eu vreau sa il distruga. Sper ca ai inteles. Scriptul este urmatorul: else if(truckLV[playerid] == 2) { new rand = random(10000); rand += 5000; TruckCash = rand; format(string, sizeof(string), "Ai primit $%s pentru livrarea facuta", FormatNumber(TruckCash)); SCM(playerid, COLOR_GREEN, string); truckLV[playerid] = 0; truckWORK[playerid] = 0; DisablePlayerCheckpoint(playerid); GivePlayerCash(playerid, TruckCash); Update(playerid, pCashx); ShowPlayerDialog(playerid, DIALOG_TRUCK, DIALOG_STYLE_LIST, "Select destination:", "Casa 1\nCasa 2", "Select", "Cancel"); }
  2. Salut, am o intrebare despre functia ShowPlayerDialog. Cum faci ca atunci cand dai Close / Cancel / etc sa iti scoata un checkpoint sau sa anuleze ceva. de ex: faci o tura de job iar cand intri in ultimul checkpoint iti apare alt dialog. Daca vrei sa continui munca selectezi optiunea, daca nu, cand dai cancel sau close sa te scoata din vehicul sau sa iti opreasca munca. Intelegeti voi. P.S: Am cautat pe wiki
×
×
  • 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.