Problem with location. - 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: Problem with location. (
/showthread.php?tid=183030)
Problem with location. -
Scriptissue - 13.10.2010
Alright so I worked on a script and when a player buys a business it sets the details in a certain file, now I have a problem, I wanted to move the MapIcon, and It is only creates it self at the File, I tired to move the Icon It successfully moved it self, but when I write /enter it spawn me in the air, some thing is wrong with the location in this code,
can you show me where is the Spawn part, and the Pickup appearance part?
pawn Код:
0|Nick|Ammunition store1|No-one|1791.212036|-1164.631713|23.828100|2170.278076|1618.818237|999.976623|5|5000000|0|0|1|1|100|500|100
Re: Problem with location. -
Rizard - 14.10.2010
you have this from a gamemode... The GodFather? or GTA-RP? anyway ... Search in that gamemode on how it writes that data
this is a possible answer, found this with 2 min searching on a one of your coцrdinates
bOwned,
bOwner[64],
bMessage[128],
bExtortion[MAX_PLAYER_NAME],
Float:bEntranceX,
Float:bEntranceY,
Float:bEntranceZ,
Float:bExitX,
Float:bExitY,
Float:bExitZ,
bLevelNeeded,
bBuyPrice,
bEntranceCost,
bTill,
bLocked,
bInterior,
bProducts,
bMaxProducts,
bPriceProd,
maybe this is usefull 2, credits to the poster ::
https://sampforum.blast.hk/showthread.php?tid=146980