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
commands work but still say unknown command
suhrab_mujeeb
Unregistered
#1
11.07.2011, 07:22
(
Последний раз редактировалось suhrab_mujeeb; 24.03.2012 в 19:21.
)
Remove.
Reply
[HiC]TheKiller
High-roller
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
#2
11.07.2011, 07:38
pawn Код:
if
(
IsPlayerAdmin
)
{
if
(
strcmp
(
"/test"
, cmdtext, true
)
==
0
)
{
Function
return
1
;
}
}
Remember that you need to return 1 so that it is registered as a cmd.
Find
Reply
suhrab_mujeeb
Unregistered
#3
13.07.2011, 07:15
(
Последний раз редактировалось suhrab_mujeeb; 24.03.2012 в 19:22. Причина: Tested the code
)
Remove.
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: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive