Loot System
#1

So i'm using this tutorial
https://sampforum.blast.hk/showthread.php?tid=466964
it compiles perfectly however when I change the cords for e.g
Код:
LootObjects[8] = CreateObject(348, 2556.1000976563, 2705.3000488281, 11,  -84.78008, -118.08011, 0.00000); //Desert Eagle
When I go In game and go to these positions there's no desert eagle and also it says you're not near...
does anybody know what I am doing wrong ?
Reply
#2

It seems weird that the Z coordinate you're using is exactly 11, it should be a float like 11.0 but where do you get the coord from? Maybe the object is underground.
Reply
#3

Yep, 11.0 != 11
This should give you a tag mismatch warning, so I wonder why you didnt figure this out already.
Reply
#4

You should ask the question on the tutorials therefore if it was a bug he had made, he could fix it, and anyways he should be able to help you there since it is his coding after all
Reply
#5

I'm getting the cords from MTA , i'm not really sure that "the tag mismatch" is causing this
thanks for these fast replies I'll re-check everything again
EDIT : Problem still persists
Reply
#6

Bump anybody?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)