- 0
Problema cu verificarea distantei dintre player si obiect
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
AndrewTG01
Problema intalnita (descriere): Am incercat sa fac la /get mats cand dai pe f sa iei o cutie in mana , dar cand sunt langa cutie nu vrea deloc
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):
if (PRESSED(KEY_SECONDARY_ATTACK)) { new Float: ObjectX, Float: ObjectY, Float: ObjectZ; GetObjectPos(BOX1, ObjectX, ObjectY, ObjectZ); if(IsPlayerInRangeOfPoint(playerid, 5.0, ObjectX, ObjectY, ObjectZ) { SetPlayerAttachedObject(playerid, 0, 2969, 5, 0.003000, 0.103000, 0.208000, -77.300025, 3.100028, 101.199874); DestroyDynamicObject(BOX1); } }Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: da
3 answers to this question
Recommended Posts