SA-MP Forums Archive
little help - 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)
+--- Thread: little help (/showthread.php?tid=305984)



little help - Dw.UsHer - 24.12.2011

Float:XPos, Float:YPos, Float:ZPos
how i find it what is Xpos what is YPos what is ZPos please help ...........!


Re: little help - MAVERICKS - 24.12.2011

just go to MTA Editor and then select the place you want to teleport and then see the "coordinates"
If you want to make map!Create/Save/Open .map file and you will see:
Like this coordinate:
Код:
3079.5812988281,-1748.7048339844,1.2784695625305,0, 0, 0, 0, 0, 0, 0



Re: little help - Dw.UsHer - 24.12.2011

i want make buyable business like this ...

Код:
CreateBusiness(BusinessName[], Float:XPos, Float:YPos, Float:ZPos, Price, Sell, Earn)
what do i write in this


BusinessName[], Float:XPos, Float:YPos, Float:ZPos, Price, Sell, Earn


Re: little help - MAVERICKS - 24.12.2011

XPOS=XPosition
YPOS=YPosition
ZPOS=ZPosition

It need the "coordinates"
example:
Код:
0|The State|~w~Gun Shop 1|No-one|1791.2120|-1164.6317|23.8281|2170.2781|1618.8182|999.9766|5|5000000|0|0|1|1|100|500|100



Re: little help - Dw.UsHer - 24.12.2011

i don't understand you where i find the cordinates and write Float:XPos, Float:YPos, Float:ZPos

i goto Samp-Debug and goto burg in gta and type /save and in folder My Documents > GTA San Andreas UserFile > SAMP > savepostions and i have this AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0); //


Re: little help - MAVERICKS - 27.12.2011

Quote:
Originally Posted by Dw.UsHer
Посмотреть сообщение
i don't understand you where i find the cordinates and write Float:XPos, Float:YPos, Float:ZPos

i goto Samp-Debug and goto burg in gta and type /save and in folder My Documents > GTA San Andreas UserFile > SAMP > savepostions and i have this AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0); //
AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0);

The black text is the coordinates(X,Y,ZPos)


Re: little help - James Coral - 27.12.2011

lol beginner


Re: little help - NessaHD - 27.12.2011

Quote:
Originally Posted by MAVERICKS
Посмотреть сообщение
AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0);

The black text is the coordinates(X,Y,ZPos)
Youre wrong. The 0,0,0,0 etc. isnt coordinates. It's weapons, and ammo. The coordinates from your example above, is:

Код:
AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0
Detailed? Umm, fine:
pawn Код:
AddPlayerClass(skinid, PosX, PosY, PosZ, PosA(FacingAngle), Weapon1, Ammo1, Weapon2, Ammo2, Weapon3, Ammo3);
[OFFTOPIC]I also lol'ed at your sig which is saying "Pro scripter"..[/OFFTOPIC]


Re: little help - MAVERICKS - 27.12.2011

Quote:
Originally Posted by cruteX
Посмотреть сообщение
Youre wrong. The 0,0,0,0 etc. isnt coordinates. It's weapons, and ammo. The coordinates from your example above, is:

Код:
AddPlayerClass(0,1507.9163,-907.9947,48.6715,119.7453,0,0,0,0,0,0
Detailed? Umm, fine:
pawn Код:
AddPlayerClass(skinid, PosX, PosY, PosZ, PosA(FacingAngle), Weapon1, Ammo1, Weapon2, Ammo2, Weapon3, Ammo3);
[OFFTOPIC]I also lol'ed at your sig which is saying "Pro scripter"..[/OFFTOPIC]
dude this man want to make a buyable house
[offtopic]Im creating NEW YORK ROLEPLAY !!! BETTER THAN OTHER RP's!!


Re: little help - suhrab_mujeeb - 27.12.2011

Quote:
Originally Posted by James Coral
Посмотреть сообщение
lol beginner
I guess you were never a beginner, you learnt it before you were born?