SA-MP Forums Archive
Command @ - 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: Command @ (/showthread.php?tid=211382)



Command @ - Typhome - 15.01.2011

////////////////////////////////////


Re: Command @ - Antonio [G-RP] - 15.01.2011

you need to use strcmp

then instead of "/command", you put "@command"


Re: Command @ - Kapil - 15.01.2011

you will have return 0 from onplayercommandtext and then u will have to do like this...
http://notesbin.com/1327715642

edit: or this is better http://notesbin.com/1388065297
edit2: the second link is wrong, try to guess where it has gone wrong xD


Re: Command @ - Typhome - 15.01.2011

//////////////////////////


Re: Command @ - Kapil - 15.01.2011

you gotta reply above man....


Re: Command @ - Typhome - 15.01.2011

Quote:
Originally Posted by Kapil
Посмотреть сообщение
you gotta reply above man....
Thanks, now it works.


Re: Command @ - Kapil - 15.01.2011

use strdel( text , 0 , 1 ); or something to delete the first character...