SA-MP Forums Archive
[SOLVED] Mabako Location / Interiors - 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: [SOLVED] Mabako Location / Interiors (/showthread.php?tid=117907)



[SOLVED] Mabako Location / Interiors - Kyle - 02.01.2010

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?


Re: Mabako Location / Interiors - Kyle - 02.01.2010

Someone must know how to do it?


Re: Mabako Location / Interiors - Redirect Left - 03.01.2010

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


Re: Mabako Location / Interiors - Rks25 - 03.01.2010

GetPlayerInterior? Than match numbers with a string.


Re: Mabako Location / Interiors - Kyle - 03.01.2010

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! :/


Re: Mabako Location / Interiors - Kyle - 03.01.2010

[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!