SA-MP Forums Archive
whts this?can anyone explain me how to solve it? - 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: whts this?can anyone explain me how to solve it? (/showthread.php?tid=361258)



whts this?can anyone explain me how to solve it? - Gamer_007 - 20.07.2012

Hey guys when i type any cmd in my server like /sf or any.it wont work and no replies when i type cmd wrong like /af.
It also not says that SERVER:Unknown Command.


Plz someone help me


Re: whts this?can anyone explain me how to solve it? - Baboon - 20.07.2012

This is a script bug...
Check if OnPlayerCommandText itself returns 0 and the commands return 1.
And could any moderator move this to scripting help?


Re: whts this?can anyone explain me how to solve it? - Songason - 20.07.2012

I had the same problem but since then I used ZCMD with every command and that worked


Respuesta: whts this?can anyone explain me how to solve it? - Gamer_007 - 20.07.2012

i am using zcmd but dont know whts happening this.


Re: Respuesta: whts this?can anyone explain me how to solve it? - Songason - 20.07.2012

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
i am using zcmd but dont know whts happening this.
Then I don't know the problem


Re: whts this?can anyone explain me how to solve it? - Dan. - 20.07.2012

zCMD has to be out of OnPlayerCommandText. As an example you can put all zCMD commands to the end of your script.


Respuesta: whts this?can anyone explain me how to solve it? - Gamer_007 - 21.07.2012

yeah dan i am using that bcz if i put ZCMD cmds in onplayercommandtext it will give error that udefined symbol "comand_your cmd".but whts this.is this any script bug??


Respuesta: whts this?can anyone explain me how to solve it? - Gamer_007 - 24.07.2012

my problem solved.