Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32031

Radar pos

$
0
0
Hello, i need small help with the script below, i have a problem with position. I didnt tried to work with function in pairs/making table so i need small help here. What i need exacly is that the radar need to read more than just 1 position.

Code:
function onUse(cid, item, frompos)

kula1 = {x=2114, y=1157, z=7, stackpos=1} --- item position

getpiece1 = getThingfromPos(kula1)


player = getPlayerPosition(cid)

if item.itemid == 11382 and getpiece1.itemid == 2626 then --- 11382 id radar...
Radar pos

Viewing all articles
Browse latest Browse all 32031

Trending Articles