AndrewTG01 Posted October 27, 2016 Report Share Posted October 27, 2016 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 delocEro(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 Link to comment Share on other sites More sharing options...
0 Gireada Posted October 28, 2016 Report Share Posted October 28, 2016 Deci daca ai definit obiectul dynamic, foloseste peste tot dynamic. GetDynamicObjectPos Link to comment Share on other sites More sharing options...
0 AndrewTG01 Posted October 28, 2016 Author Report Share Posted October 28, 2016 da, la asta nu m-am gandit, o sa revin cu un reply dupa ce modific. Se pare ca a functionat, multumesc mult Gireada! T.C Link to comment Share on other sites More sharing options...
0 EquiNoxAdv Posted November 12, 2016 Report Share Posted November 12, 2016 48 de ore fara raspuns / up. Topic Closed. Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
3 answers to this question
Recommended Posts