Mixed cmds
#1

Hi

I have problems with cmds mixing

Example i have /carflip and if i type /flipcar it will tp me to nowhere but i dont have it same for weapons

I have /weapons but when i type /weaponss ill got this weapons lol what's the problem ?
Reply
#2

Show us your commands.
Reply
#3

Trust me command /carflip works fine. But when i type /flipcar it tp me to no where as i dont have this cmd. Same for weapons. They are made good
Reply
#4

Perhaps you have a command named 'flipcar' ... check your script.
Trust me as well, without code we can't help you.
Reply
#5

Check your filterscripts, perhaps the command /flipcar is there.
Reply
#6

Ok thanks guys. But what if i add OnPlayerCommandPeformed in GM does it will have any effect with Filterscript and show them as unknown commands ? +REP for you guys anyway
Reply
#7

Can you show us the commands?
Reply
#8

Quote:
Originally Posted by Hunud
Посмотреть сообщение
Hi

I have problems with cmds mixing

Example i have /carflip and if i type /flipcar it will tp me to nowhere but i dont have it same for weapons

I have /weapons but when i type /weaponss ill got this weapons lol what's the problem ?
I can only assume that you are using strcmp. If so, consider at least implementing SSCANF. The best option is to switch over to Smart Command Processor however (alternatively, ZCMD).
Reply
#9

Okey, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)