[Help]Commands - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help]Commands (
/showthread.php?tid=124199)
[Help]Commands -
JetfighterV - 29.01.2010
Why when I have a server and signatures / thisthis and why it writes that there is no such command? my server normal biski script is blank and the new game modes have
Re: [Help]Commands -
ray187 - 29.01.2010
Great example how ******Translator fails...
Re: [Help]Commands -
fsnameless - 29.01.2010
@ray wdf?
and this topic makes no sense at all
Re: [Help]Commands -
02manchestera - 29.01.2010
what is the problem i just read a random comment
Re: [Help]Commands -
fsnameless - 30.01.2010
im just saying this doesnt make sense on how were susposed to help if it doesnt make sense so its not a comment its a saying that i cant understand it and its not much to go off of for a help topic
Re: [Help]Commands -
bluray - 30.01.2010
i think he means that he gets the message "SERVER: UNKOWN COMMAND"
if that is it this is how to fix it
Код:
Public OnPlayerCommandText
{
if(strcmp, /thisthis, cmdtext, true) == 0)
{
blah blah blah
return 1; //put this return here with one at the end.
}
return 0; // put a return 0 here aswell as the return 1 and this should work.
}
i hoped this helped
Re: [Help]Commands -
fsnameless - 31.01.2010
oh yea i didnt read it so good return 1 at the end of the cmd is so the server says ok make this work and return 0 at the end says sorry not there or no such command =) and yes bluray your code will work if he does it in right