Can someone explain these variables/parimeters?
#1

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?
Reply
#2

Eh, what function are you using?
CreateObject?
Reply
#3

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.
Reply
#4

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

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]))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)