can someone explain this to me? -
Jordiee - 13.11.2011
Ok, So I want my home to be in bayside:
AddPlayerClass(0,-2487.7507,2219.1045,4.9844,341.4901,0,0,0,0,0,0)
can someone tell what the coords are in this please?
Re: can someone explain this to me? -
BlackWolf120 - 13.11.2011
take the green marked coordinates in case u are using the SetPlayerPos function for teleport.
AddPlayerClass(0,
-2487.7507,2219.1045,4.9844,341.4901,0,0,0,0,0,0)
The green coords are: X,Y,Z (the ones u need)
The 4th coord is the facing angle (where ur charater is looking at, not needed in SetPlayerPos)
the six 0's at the end are the weapon and ammo slots
the single 0 at the very beginning is the skinID
Re: can someone explain this to me? -
Norn - 13.11.2011
If you're stuck again check out the wiki it has clear parameter explanations.
Re: can someone explain this to me? -
Jordiee - 13.11.2011
Ok, thank you both of you, Rep+, Im using VX-RP 2.. where do I change the coords, in MYSQL or GM>
Re: can someone explain this to me? -
BlackWolf120 - 13.11.2011
np, happy i could help
Re: can someone explain this to me? -
Jordiee - 13.11.2011
Im using VX-RP 2.. where do I change the coords, in MYSQL or GM?
Re: can someone explain this to me? -
Norn - 13.11.2011
Quote:
Originally Posted by Jordiee
Im using VX-RP 2.. where do I change the coords, in MYSQL or GM?
|
VX-RP is a dynamic gamemode you won't need to change it in mysql, there should be commands that do the mysql side of things for you, open the script and have a look.
Re: can someone explain this to me? -
Jordiee - 13.11.2011
Not in V2 there isnt. I tried the commands,
Re: can someone explain this to me? -
Calgon - 13.11.2011
/movehouse
/createhouse
Look harder, not going to bother helping you next time if you can't help yourself.
Re: can someone explain this to me? -
BlackWolf120 - 13.11.2011
if u wanna replace existing coordinates try to search for "SetPlayerPos" by pressing CTR+F
Im sure ull find the specific code part