Need help - 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: Need help (
/showthread.php?tid=526292)
Need help -
krytans - 16.07.2014
In my gamemode zcmd and strcmp commands are there.
zcmds are outside and strcmp commands are inside OnPlayerCommandReceived(...) When i use strcmp commands in game its executed, but returns Server:Unknown Command.
Any solution to fix this?
Re: Need help -
HyperZ - 16.07.2014
ZCMD 'blocks' the OnPlayerCommandText callback, you won't be able to use it anymore if you use ZCMD, so either choose strcmp or ZCMD. ZCMD is MUCH faster than strcmp, You could convert your commands to ZCMD. Check this out
https://sampwiki.blast.hk/wiki/Command_C...trcmp_to_z_cmd
Re: Need help -
krytans - 16.07.2014
its too difficult because, lot of commands in strcmp