View Single Post
fakuivan
Senior Member
Join Date: Nov 2015
Old 11-15-2017 , 19:10   Re: Help with String
Reply With Quote #2

https://sm.alliedmods.net/new-api/co...etCmdArgString

You are getting the whole command "say Yakada", instead of just "Yakada", that's what ``GetCmdArgString`` does. You need to use ``GetCmdArg`` and pass the correct argument position to get "Yakada". Next time you could try to print the contents of your string before writing a thread and save yourself some time.
__________________
fakuivan is offline