SA-MP Forums Archive
Help please - 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 please (/showthread.php?tid=212969)



Help please - Xer0maR - 18.01.2011

Well, my question is that I added some dcmd's and strcmp's it was all working ... but now it still compiles but ingame it says SERVER: Unknown command.. what could this problem be from?


Re: Help please - alpha500delta - 18.01.2011

For DCMD, did you add both the command AND the parameter thingy under OnPlayerCommandText (Probably yes because otherwise it wont compile lol)

Maybe you have a wrong include, if I use ZCMD I cant use strcmp anymore, for some reason


Re: Help please - Xer0maR - 18.01.2011

I put the DCMD perimeter thing uder OnPlayerCommadText and the command on another way (It compiles with no errors and warnings.. but the problem is ingame (Unknow command)


Re: Help please - Xer0maR - 18.01.2011

Please guys I need help


Re: Help please - alpha500delta - 18.01.2011

The parameter needs to be under "OnPlayerCommandText" and not under "OnPlayerCOnnect"


Re: Help please - Xer0maR - 18.01.2011

I checked something and the problem was in the presence of the Zcmd, can you give me a way to convert from zcmd to dcmd? without changing anything..?


Re: Help please - Kase - 18.01.2011

There's no way to convert DCMD to ZCMD without doing anything.


Re: Help please - Xer0maR - 18.01.2011

No i meant to convert ZCMD to DCMD not the opposite

Ofcourse i'll do everything for that to happen