SA-MP Forums Archive
unidentified symbol "params" - 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: unidentified symbol "params" (/showthread.php?tid=405719)



unidentified symbol "params" - megamind2067 - 07.01.2013

I get this error can anyone help me fix it?




Re: unidentified symbol "params" - gtakillerIV - 07.01.2013

Replace "params" with "cmdtext", since OnPlayerCommandText doesn't have the "params" parameter. The "cmdtext" parameter is the same as the "params" parameter.


Re: unidentified symbol "params" - megamind2067 - 07.01.2013

thanks but what is params used for ? link ? or when is it used


Re: unidentified symbol "params" - Vince - 07.01.2013

"Params" is only valid with dcmd, zcmd or ycmd.