SA-MP Forums Archive
Unknown command. - 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)
+--- Thread: Unknown command. (/showthread.php?tid=550900)



Unknown command. - Glossy42O - 15.12.2014

Hello.

I'm making earthquake system but when i do /earthquake it says unknown command..

Which code do i need to give?

And yes it's loaded


Re: Unknown command. - Clad - 15.12.2014

You did something wrong on it, can you show it ?


Re: Unknown command. - Glossy42O - 15.12.2014

..............


Re: Unknown command. - Clad - 15.12.2014

I didnt say that because I want your code and I didnt even say post the full code.


Re: Unknown command. - Glossy42O - 15.12.2014

No no i mean for those people that want


Re: Unknown command. - Ox1gEN - 15.12.2014

Have you deleted OnPlayerCommandText?


Re: Unknown command. - TechnoDEV - 15.12.2014

Well it seems you're using conventional 'OnPlayerCommandText' along with ZCMD. ZCMD ain't gonna work if you're using that along with ' OnPlayerCommandText' callback.

Do one thing, make sure that your gamemode along with other filterscripts of your server are not using this callback. If they're utilizing that callback, then ZCMD is not gonna work. You have to either move all of your commands to ZCMD or all of your ZCMD commands to 'OnPlayerCommandText' callback either way. Tell me if you didn't understand, or need help to migrate your commands!


Re: Unknown command. - Glossy42O - 15.12.2014

wait do i need to delete or i don't ?
if not like that ?
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}


Re: Unknown command. - danish007 - 15.12.2014

dont delete it


Re: Unknown command. - dominik523 - 15.12.2014

Quote:
Originally Posted by Stuun23
Посмотреть сообщение
All the code?
Don't really care because i'm gonna release it anyways. :P plus they'll copy it unfinished.
You are kidding right?
Releasing code that doesn't work is, ehm, little bit stupid you know.
You shouldn't try to release any scripts when you don't know which part of the code isn't good because that isn't a gamemode with 90k lines.