How to fix this error
#2

"undefined symbol" means that the used variable/function isn't declared.

With strtok you can split a string at the whitespaces -> you can separate the command itself and the parameters.
https://sampwiki.blast.hk/wiki/Strtok
There you can find an example how to use it with OnPlayerCommandText.
Reply


Messages In This Thread
How to fix this error - by Gotti_ - 02.02.2011, 14:56
AW: How to fix this error - by !Phoenix! - 02.02.2011, 15:14
Re: How to fix this error - by Steven Paul - 02.02.2011, 15:14
[No subject] - by Gotti_ - 02.02.2011, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)