SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 22/06/2010, 08:29 PM   #1
[NTX]MikeQ
Big Clucker
 
[NTX]MikeQ's Avatar
 
Join Date: May 2010
Location: Latvia,Riga
Posts: 179
Reputation: 0
Default UNKNOWN

Hey, how to change the SERVER:unknown command to like Wrong command do /commands etc.?
[NTX]MikeQ is offline  
Old 22/06/2010, 08:32 PM   #2
Niixie
Gangsta
 
Niixie's Avatar
 
Join Date: Aug 2008
Location: Denmark
Posts: 533
Reputation: 2
Default Re: UNKNOWN

its in OnPlayerCommandText, in the end, Either its return 0; that needs to be changed to return SendClient... or its the return 1;
Test both
__________________
Code:
 ____      __    __    __    ___       ___    __    ________
|    \    |  |  |  |  |  |  \   \     /   /  |  |  |   _____|
|     \   |  |  |  |  |  |   \   \_ _/   /   |  |  |  |
|  |\  \  |  |  |  |  |  |    \    |    /    |  |  |  |__
|  | \  \ |  |  |  |  |  |    /   _|_   \    |  |  |   __|
|  |  \  \|  |  |  |  |  |   /   /   \   \   |  |  |  |_____
|__|   \_____|  |__|  |__|  /___/     \___\  |__|  |________|
Niixie is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown Commands? [NYRP]Mike. Help Archive 5 29/09/2009 08:43 PM
Unknown command Think Help Archive 1 17/09/2009 06:47 PM
Unknown Warnings Jason_Larson Help Archive 7 10/09/2009 08:22 PM
Unknown command *Help please* Yoyoyo Help Archive 8 31/08/2009 08:42 PM
Unknown Gamemode... why? DauerDicht Help Archive 8 29/08/2009 11:45 PM


All times are GMT. The time now is 10:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.