Need help
#1

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?
Reply
#2

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
Reply
#3

its too difficult because, lot of commands in strcmp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)