Mixed cmds - 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: Mixed cmds (
/showthread.php?tid=637620)
Mixed cmds -
Hunud - 18.07.2017
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 ?
Re: Mixed cmds -
saffierr - 18.07.2017
Show us your commands.
Re: Mixed cmds -
Hunud - 18.07.2017
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
Re: Mixed cmds -
saffierr - 18.07.2017
Perhaps you have a command named 'flipcar' ... check your script.
Trust me as well, without code we can't help you.
Re: Mixed cmds -
oMa37 - 18.07.2017
Check your filterscripts, perhaps the command /flipcar is there.
Re: Mixed cmds -
Hunud - 18.07.2017
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
Re: Mixed cmds -
aoky - 18.07.2017
Can you show us the commands?
Re: Mixed cmds -
Paulice - 18.07.2017
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).
Re: Mixed cmds -
Hunud - 18.07.2017
Okey, thanks