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
Random Spawns
sekol
Huge Clucker
Posts: 407
Threads: 101
Joined: Feb 2009
Reputation:
0
#1
03.09.2010, 14:50
So i made few random spawns. For example it spawns player at RandomSpawn1, and after death instead of selecting new spawn it still spawns at RandomSpawn1. How to fix it?
Find
Reply
WillyP
High-roller
Posts: 2,027
Threads: 139
Joined: Jul 2010
Reputation:
0
#2
03.09.2010, 14:57
script?
.
Find
Reply
sekol
Huge Clucker
Posts: 407
Threads: 101
Joined: Feb 2009
Reputation:
0
#3
03.09.2010, 14:58
Ahhh, I'm so stupid, i forgot to add random spawning in OnPlayerSpawn. Fixed
Find
Reply
RSX
Huge Clucker
Posts: 338
Threads: 44
Joined: Dec 2007
Reputation:
0
#4
03.09.2010, 15:01
After you "assign" the new spawn, for example Random returns 2, you change spawn by using this function:
SetSpawnInfo(playerid,team,skin,Float:X,Float:Y,Fl oat:Z,Float:Angle,weapon1,weapon1_ammo,weapon2,wea pon2_ammo,weapon3,weapon3_ammo)
Changing spawn could anyway be better
, so try it if you don't do it already.
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