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
How to block de command "/tpm"
Mac_Rulez
Little Clucker
Posts: 39
Threads: 12
Joined: Jun 2008
Reputation:
0
#1
07.02.2009, 17:09
I need block the command, /tpm pls help!
Find
Reply
Masj
Little Clucker
Posts: 37
Threads: 1
Joined: Feb 2008
Reputation:
0
#2
07.02.2009, 17:20
forward OnPlayerTeamPrivmsg(playerid, text[]);
public OnPlayerTeamPrivmsg(playerid, text[])
{
return false; // Disables it.
}
Just put this on you script
Find
Reply
Marcel
Huge Clucker
Posts: 382
Threads: 1
Joined: Nov 2007
Reputation:
0
#3
07.02.2009, 17:22
Or just remove the command...
Find
Reply
Brunez
Little Clucker
Posts: 3
Threads: 0
Joined: Oct 2008
Reputation:
0
#4
07.02.2009, 17:23
At the top of the script:
pawn Код:
forward
OnPlayerTeamPrivmsg
(
playerid,msg
[
]
)
;
Anywhere under the first thing after any forward/new
pawn Код:
public
OnPlayerTeamPrivmsg
(
playerid,msg
[
]
)
{
return
0
;
}
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