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
disabling spawn selection
LasTRace
Big Clucker
Posts: 63
Threads: 21
Joined: May 2009
Reputation:
0
#1
29.07.2010, 12:51
How can i disable class selection after a player connected (direct spawn)?
Find
Reply
ViruZZzZ_ChiLLL
High-roller
Posts: 1,645
Threads: 100
Joined: Aug 2009
Reputation:
0
#2
29.07.2010, 12:53
Try this :
pawn Код:
public
OnPlayerRequestClass
(
playerid, classid
)
{
SpawnPlayer
(
playerid
)
;
return
1
;
}
Find
Reply
iggy1
High-roller
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
#3
29.07.2010, 12:54
Too Slow
Find
Reply
Jonni8
Big Clucker
Posts: 182
Threads: 23
Joined: Aug 2009
Reputation:
0
#4
29.07.2010, 12:55
Maybe put that into OnPlayerConnect() ?
Find
Reply
iggy1
High-roller
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
#5
29.07.2010, 12:56
Im not sure but i dont think u can spawn in onplayerconnect.
Find
Reply
LasTRace
Big Clucker
Posts: 63
Threads: 21
Joined: May 2009
Reputation:
0
#6
29.07.2010, 12:57
Thank you both.
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