Jump to content
  • 0

Detectare player in apa


PrtSc

Question

Salut, am dat si eu de o asa intrebare.

Cum fac ca cand un player intra in apa si nu are "permisiunea de a inota" sa moara.

Adica nu ma intereseaza script-ul ca il faceti, dar vreau sa stiu unde sa gasesc sa il detecteze cand un player este in apa.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@Eduard FRT este posibil sa iti faci script care sa detecteze daca jucatorul este in apa, dar pentru asta trebuie sa iti faci un timer sau sa bagi codul in OnPlayerUpdate daca vrei ca sa functioneze mereu, daca ai nevoie de el doar la o comanda este usor, bagi doar o conditie. Daca il faci cu timer sau OPU ai foarte mari sanse sa ai un lag foarte mare pe un server cu multi jucatori.

Gh38gEQ.gif

Link to comment
Share on other sites

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.