Jump to content

Question

Posted

Am o problema cu serveru, toate masinile care ar trebui sa le foloseasca numai ce-i care au un anumit job (ex: mecanici sa foloseasca masinile de mecanici) le pot folosi oricine (adica un playeri oarecare poate folosi masina de mecanici fara sa fi mecanic) asjuati-ma va rog

2 answers to this question

Recommended Posts

Posted

Pai, uite cum trebuie adaugate in mod corect masinile in mod. Bagi masinile in mod cu MTA sau /save. Dupa intri in joc si dai /dl si iei id de la masina/masinile pe care le vrei numai pentru un job.

[pawn] if(newcar == idmasina || newcar == idmasina)

                {

    if(PlayerInfo[playerid][pJob] == jobid) { }

    else if

    {

        SendClientMessage(playerid,COLOR_GRAD!,"You don't have the keys to this car !");

        RemovePlayerFromVehicle(playerid);

    }

}

                        [/pawn]

Posted

mihaita, vad ca esti nou aici, si, mai vad si ca nu ai citit regulile. Una dintre reguli spune asa: Probleme godfather se posteaza aici: http://www.sa-mp.ro/forum/index.php/topic,5356.0.html

Guest
This topic is now closed to further replies.
×
×
  • 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.