[SOLVED] Mabako Location / Interiors
#1

Im currently using Mabakos location script but im trying to add interiors to the locations to display what interior your in like. But when i get 4 co ordinates all of the z angles are the same. Here are the co ordinates

AddPlayerClass(272,-468.4121,-212.6586,985.3784,167.4516,0,0,0,0,0,0); // co1
AddPlayerClass(272,-479.6917,-212.1360,985.3784,127.5854,0,0,0,0,0,0); // co2
AddPlayerClass(272,-479.0577,-195.0853,985.3784,150.4589,0,0,0,0,0,0); // co3
AddPlayerClass(272,-467.2522,-195.5970,985.3784,316.9544,0,0,0,0,0,0); // co4


I tried to work it out to this

{"The Bank of Las Venturas", -479.69,-212.65,965.37,-467.25,195.08,1065.37},

By adding +20 for the max Z Angle and -20 for the min z angle but that dont work what should i do any ideas?
Reply
#2

Someone must know how to do it?
Reply
#3

...maybe they're all in the same height in the sky where SA keeps interiors?
Reply
#4

GetPlayerInterior? Than match numbers with a string.
Reply
#5

But like its for the location script so when i go to do the min z and max z i did -20 from the z co ordinate for the min z and +20 for the max z co-ordinate but that didnt seem to work. Does anyone have any ideas?

BM[UK] seems to know but he dont wanna tell me. He goes Newb its simple work it out! :/
Reply
#6

[SOLVED] The great BM[UK] Decided to help me and it got fixed beause there was a problem in the function! So if you would of looked in mabakos script you would of spotted it thanks anyway!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)