Jump to content
  • 0

problema interior


laury

Question

Salut tuturor. De curand am adaugat pe serverul meu o masina care poate incarca si descarca alte vehicule din oras dar am intimpinat o mica problema. Problema ar fi ca vehiculele pe care le urc in duba mi le da intr-un singur interior si as vrea sa nu poata intra in acest interior 2 persoane din doua locuri diferite. Sa fie cum sunt la case. Adica daca doua case sau mai multe au acelasi interior plaiery sa nu se intilneasca in interiorul respectiv daca au cumparat amandoi case cu interior identic

Uitati aici comanda cu interior si sa imi spuneti si mie ce si unde adaug sa nu se mai intilneasca plaiery

[pawn]if(newkeys & KEY_YES)

{

if(GetDistBetweenVehiclePlayer(KingofStreet5,playerid) <= 3 || IsPlayerInRangeOfPoint(playerid,3.0, 2084.6538,-1374.2390,300.5588))

{

  GetInto(playerid);

}

}

if(newkeys & KEY_YES)

{

if(GetDistBetweenVehiclePlayer(TheYakuza5,playerid) <= 3 || IsPlayerInRangeOfPoint(playerid,3.0, 2084.6538,-1374.2390,300.5588))

{

  GetInto1(playerid);

}

}[/pawn]

Edit: NU STIE NIMENI?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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.