X,Y,Z from object - 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: X,Y,Z from object (
/showthread.php?tid=333112)
X,Y,Z from object -
davve95 - 10.04.2012
Hi!
Can some one help me to get X,Y,Z from this?
pawn Код:
(428,-2644.09960938,1351.29980469,7.40000010,91.99951172,-1,-1,15);
I've tryd but failed..
Re: X,Y,Z from object -
Phyrunx - 10.04.2012
There are the Coords
Код:
-2644.09960938,1351.29980469,7.40000010
Rep if i Helped you!!
Re: X,Y,Z from object -
Faisal_khan - 10.04.2012
The params:
Re: X,Y,Z from object -
davve95 - 10.04.2012
Thanks alot repped!.
Re: X,Y,Z from object -
davve95 - 10.04.2012
When I make it to a AddPlayerClass I get error:
pawn Код:
C:\Users\Davve\Desktop\Fire n flames RPG DM\Server\Fire.pwn(37) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
code:
pawn Код:
AddPlayerClass(1, -2644.09960938,1351.29980469,7.40000010, 0, 0, 0, 0, 0, 0); //
Edit: LOL, sorry for bumb ^^.
Re: X,Y,Z from object -
Hoss - 10.04.2012
Quote:
Originally Posted by davve95
When I make it to a AddPlayerClass I get error:
pawn Код:
C:\Users\Davve\Desktop\Fire n flames RPG DM\Server\Fire.pwn(37) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
code:
pawn Код:
AddPlayerClass(1, -2644.09960938,1351.29980469,7.40000010, 0, 0, 0, 0, 0, 0); //
|
You need to add and Angle coords at " AddPlayerClass "
https://sampwiki.blast.hk/wiki/AddPlayerClass
Re: X,Y,Z from object -
Faisal_khan - 10.04.2012
Parameters for AddPlayerClass:
pawn Код:
(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
Re: X,Y,Z from object -
davve95 - 10.04.2012
Can some one make this for AddPlayerClass I don't understeand full what I make wrong.
pawn Код:
-2644.09960938,1351.29980469,7.40000010
Re: X,Y,Z from object -
Faisal_khan - 10.04.2012
pawn Код:
AddPlayerClass(1, -2644.09960938,1351.29980469,7.40000010,91.99951172, 0, 0, 0, 0, 0, 0); //
Re: X,Y,Z from object -
davve95 - 10.04.2012
Quote:
Originally Posted by Faisal_khan
pawn Код:
AddPlayerClass(1, -2644.09960938,1351.29980469,7.40000010,91.99951172, 0, 0, 0, 0, 0, 0); //
|
Thanks!

.