Jump to content
  • 1

San Fierro Taxi [Burned]


qSorin_

Question

Salut, am facut San Fierro Taxi pe burned si cand intru intr-un vehicul de taxi ls imi zice ca Nu faci parte din factiunea Los Santos Taxi

dar eu am adaugat factiunea  la function IsAnTaxi(carid) si tot nu merge HELP? :(

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Acum 2 minute, andrei9971 a spus:

Nu stiu daca zic bine pentru ca nu am folosit GM burned dar teoretic trebuie sa existe o functie care sa verifice daca jucatorul e taximetrist. Cauta functia respectiva si trece acolo si id-ul factiunii tale.

Da este o functie IsAnTaxi(carid) {

si eu am ... 

function IsAnTaxi(carid) {
    if(ServerVehicles[carid][vFaction] == 12) return 1; 
    if(ServerVehicles[carid][vFaction] == 15) return 1;
    return 0;
}

Edited by SorinGamerYT
Link to comment
Share on other sites

  • 0
La 27.07.2018 la 16:56, SorinGamerYT a spus:


    if(ServerVehicles[carid][vFaction] == 12) return 1; 
    if(ServerVehicles[carid][vFaction] == 15) return 1;
   

Eu cred ca acele numere,mai exact 12 si 15 sunt id-ul factiunilor gen taxi.Incearca asta: 

function IsAnTaxi(carid) {
    if(ServerVehicles[carid][vFaction] == 12) return 1; 
    if(ServerVehicles[carid][vFaction] == 15) return 1;                            if(ServerVehicles[carid][vFaction] == aici pui numarul factiunii tale,gen 11)        return 1;
    return 0;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.