Need help within X,Y,Z generating.
#1

Hey folks

I got the code:
pawn Код:
AddPlayerClass(288,1351.9855,348.6165,20.4774,64.3828,0,0,0,0,0,0); // janimehaanik
How I change it to X,Y,Z code where I can make a spawn to and to a tele? like in stunt servs /aa andstuff, help?
Reply
#2

I guess you got this code from the /save cmd and want to have the coordinates from it.
The bracket [] arguments are the x,y,z coordinates that you need (the second, third, and fourth argument, use them without the brackets later)

pawn Код:
AddPlayerClass(288,[1351.9855,348.6165,20.4774],64.3828,0,0,0,0,0,0); // janimehaanik
https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#3

x = 1351.9855
y = 348.6165
z = 20.4774
Reply
#4

Oh ye i got it from /save, thank you so Much Mauzen! I owe you one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)