House co-ords - 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: House co-ords (
/showthread.php?tid=108951)
House co-ords -
Ritchie999 - 16.11.2009
i need help getting the co-ords for the following house
i know it is interior id 5, i searched the samp wiki and weedarr's wikidot page but i couldnt find the interior
Re: House co-ords - [03]Garsino - 16.11.2009
If you took this pic couldn't you just type /save?...
Re: House co-ords -
Ritchie999 - 16.11.2009
Quote:
Originally Posted by [03
Garsino ]
If you took this pic couldn't you just type /save?...
|
but wouldnt that give me only the location co-ords? i need the actual co-ords for the house so if i make a pickup or make the house for sale i get teleported into the exact interior thats in the picture
Re: House co-ords - [03]Garsino - 16.11.2009
Quote:
Originally Posted by Ritchie999
Quote:
Originally Posted by [03
Garsino ]
If you took this pic couldn't you just type /save?...
|
but wouldnt that give me only the location co-ords? i need the actual co-ords for the house so if i make a pickup or make the house for sale i get teleported into the exact interior thats in the picture
|
If you save INSIDE the interior it would give you the co-ords for that spot, since you got the interior it shouldn't be hard to figure out the rest.
Re: House co-ords -
Ritchie999 - 16.11.2009
Quote:
Originally Posted by [03
Garsino ]
Quote:
Originally Posted by Ritchie999
Quote:
Originally Posted by [03
Garsino ]
If you took this pic couldn't you just type /save?...
|
but wouldnt that give me only the location co-ords? i need the actual co-ords for the house so if i make a pickup or make the house for sale i get teleported into the exact interior thats in the picture
|
If you save INSIDE the interior it would give you the co-ords for that spot, since you got the interior it shouldn't be hard to figure out the rest.
|
i got inside because it's already in the property scriptfiles that come with the samp 0.3 server package
Код:
AddPlayerClass(0,140.3170,1366.4504,1083.8594,181.1084,0,0,0,0,0,0); // exit
thats the co-ords for inside the house just at the door
Код:
140.3170,1366.4504,1083.8594,181.1084
so that would be the right co-ords for the house?
Re: House co-ords - [03]Garsino - 16.11.2009
Код:
140.3170,1366.4504,1083.8594
Quote:
140.3170,1366.4504,1083.8594,181.1084
|
Bolded part is angle/rotation.
Re: House co-ords -
Ritchie999 - 16.11.2009
Oh ok, il go try and make the pickup and i sha'll get back to you and tell you if it was a success
--Edit--
Код:
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(37) : error 020: invalid symbol name ""
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(67) : error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(230) : error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(236) : error 030: compound statement not closed at the end of file (started at line 223)
Код:
37: new exit;
67: exit = CreatePickup(1239,23,140.3170,1366.4504,1083.8594);
230: if (pickupid == exit)
223: if (pickupid == enter)
Re: House co-ords - [03]Garsino - 17.11.2009
Quote:
Originally Posted by Ritchie999
Oh ok, il go try and make the pickup and i sha'll get back to you and tell you if it was a success
--Edit--
Код:
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(37) : error 020: invalid symbol name ""
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(67) : error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(230) : error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(236) : error 030: compound statement not closed at the end of file (started at line 223)
Код:
37: new exit;
67: exit = CreatePickup(1239,23,140.3170,1366.4504,1083.8594);
230: if (pickupid == exit)
223: if (pickupid == enter)
|
Wouldn't it be easier to make it with checkpoints?
Re: House co-ords -
Ritchie999 - 17.11.2009
i don't know how to do that, im only a scripting beginner
Re: House co-ords - [03]Garsino - 17.11.2009
Quote:
Originally Posted by Ritchie999
i don't know how to do that, im only a scripting beginner
|
It's the same as when you create multiple pickups.
OFF TOPIC: D: I thought you were scripting master, lol.