Unknown command even though I have return 1; Weird. - 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: Unknown command even though I have return 1; Weird. (
/showthread.php?tid=96678)
Unknown command even though I have return 1; Weird. -
dougbrowne - 10.09.2009
Alright here is my problem. I just finished modifying 3 commands, /enter, /exit, and /lock. They were only made for houses but today I integrated businesses into them. I'm writing a custom roleplay script from scratch. Those three commands worked great, and they still do but ever since I added businesses into them, they say Unknown command when used even though I have return 1; there. Here is the code...
I'll just show one of the commands (/enter) as they all have the same problem. Here is /enter
http://pastebin.com/m6e53a9a8
Re: Unknown command even though I have return 1; Weird. -
dougbrowne - 10.09.2009
It's been almost 24 hours since my post. Doesn't anyone know?
Re: Unknown command even though I have return 1; Weird. -
shady91 - 10.09.2009
you havent really posted much info i didnt even finish reading all your post as theres no point post your command code.
Re: Unknown command even though I have return 1; Weird. -
dougbrowne - 10.09.2009
Quote:
Originally Posted by Shady91
you havent really posted much info i didnt even finish reading all your post as theres no point post your command code.
|
What do you mean? I posted the code. Look at the pastebin link.
Re: Unknown command even though I have return 1; Weird. -
shady91 - 10.09.2009
Quote:
Originally Posted by dougbrowne
Quote:
Originally Posted by Shady91
you havent really posted much info i didnt even finish reading all your post as theres no point post your command code.
|
What do you mean? I posted the code. Look at the pastebin link.
|
o lol sorry mate lol i didnt finish reading post and didnt notice the link
Re: Unknown command even though I have return 1; Weird. -
Yuryfury - 11.09.2009
I can't find anything atm, but Im on a PSP so the pastebin is all messed up
, Could you post your OnPlayerCommandText