Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
Object Spawning
svaba
Big Clucker
Posts: 147
Threads: 22
Joined: Aug 2011
Reputation:
0
#1
14.08.2011, 10:44
PHP код:
feuer
[
playerid
] =
CreateObject
(
18688
,
x
,
y
,
z
,
0
,
0
,
0
);
Currently this is spawning above players head, can anyone give the coords to spawn in on the ground?
Find
Reply
Grim_
High-roller
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
#2
14.08.2011, 10:49
You would need to use the MapAndreas plugin to retrieve the appropriate Z coordinate. You can find it here:
https://sampforum.blast.hk/showthread.php?tid=120013
However, you could also check the offset of the player and just decrease the z value by that much. It wouldn't be perfect, but would reduce the use of this plugin, and saving you some memory.
Find
Reply
svaba
Big Clucker
Posts: 147
Threads: 22
Joined: Aug 2011
Reputation:
0
#3
14.08.2011, 10:53
mhh thanks
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive