SA-MP Forums Archive
Can someone explain these variables/parimeters? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can someone explain these variables/parimeters? (/showthread.php?tid=254139)



Can someone explain these variables/parimeters? - Dokins - 09.05.2011

1272, 1315.389648, -898.885803, 39.578125, 352.437835, 125, 2 ; // 24/7 LS (damo)
1272, 1199.693847, -919.824829, 43.107589, 359.216644, 47, 2 ; // burger shot LS (damo)
1272, 1087.605468, -922.871948, 43.390625, 17.284997, 17, 2 ; // sex shop ls (damo)
1272, 927.423706, -1352.795166, 13.376624, 264.936157, 130, 2 ; // Cluckin Bell South LS Beach (Kye)

It has 1272 at the start of each one, I know the next 3 are the X,Y,Z Co-ords, what is the last 2 parimeters/variables?


Re: Can someone explain these variables/parimeters? - Biesmen - 09.05.2011

Eh, what function are you using?
CreateObject?


Re: Can someone explain these variables/parimeters? - Dokins - 09.05.2011

Its for businesses, the yellow arrow is the 1272 Icon ID, the next is the XYZ of the arrow what is the last 2, + its in scriptfiles to add businesses.


Re: Can someone explain these variables/parimeters? - Biesmen - 09.05.2011

I assume it's CreatePickup then, but the parameters are in an incorrect order.
https://sampwiki.blast.hk/wiki/CreatePickup


Re: Can someone explain these variables/parimeters? - Dokins - 09.05.2011

I think I've found the variables.

can someone explain this to me, I'm a noob when it comes to scripting

if(IsPlayerInRangeOfPoint(playerid, 3, BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))