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



OnPlayerCommandText - Hunud - 10.03.2017

Hi,

I need help, I dont have OnPlayerCommandText in Filterscript and i updated YSI!

I got this error anyway i dont even have 923 line in script i have 500!

Код:
YSI\y_hooks/impl.inc(923) : error 021: symbol already defined: "OnPlayerCommandText"



Re: OnPlayerCommandText - TitanX - 10.03.2017

Quote:
Originally Posted by Hunud
Посмотреть сообщение
Hi,

I need help, I dont have OnPlayerCommandText in Filterscript and i updated YSI!

I got this error anyway i dont even have 923 line in script i have 500!

Код:
YSI\y_hooks/impl.inc(923) : error 021: symbol already defined: "OnPlayerCommandText"
did you included y_commands ?


Re: OnPlayerCommandText - Hunud - 10.03.2017

Quote:
Originally Posted by TitanX
Посмотреть сообщение
did you included y_commands ?
Im using zcmd, i already included it! I dont use anything with OPlayerCommandText


Re: OnPlayerCommandText - TitanX - 10.03.2017

Quote:
Originally Posted by Hunud
Посмотреть сообщение
Im using zcmd, i already included it! I dont use anything with OPlayerCommandText
i didn't understand, did you use y_commands yes or no ?
PHP код:
#include <YSI/y_commands> 



Re: OnPlayerCommandText - Hunud - 10.03.2017

Quote:
Originally Posted by TitanX
Посмотреть сообщение
i didn't understand, did you use y_commands yes or no ?
PHP код:
#include <YSI/y_commands> 
I Dont need it, why should i use it ? I did same before with zcmd and YSI!


Re: OnPlayerCommandText - TitanX - 10.03.2017

Quote:
Originally Posted by Hunud
Посмотреть сообщение
I Dont need it, why should i use it ? I did same before with zcmd and YSI!
what includes of YSI are you using also lastest YSI version isn't stable (i tested it) i don't recommand for you to use it

use an older version better (2016 november)


Re: OnPlayerCommandText - Hunud - 10.03.2017

I used same version before, all was ok


Re: OnPlayerCommandText - TitanX - 10.03.2017

Quote:
Originally Posted by Hunud
Посмотреть сообщение
I used same version before, all was ok
hmm so what you last thing you edited?, check if there any bracket "{" opened->not closed in a callback (can cause this)


Re: OnPlayerCommandText - Hunud - 10.03.2017

Quote:
Originally Posted by TitanX
Посмотреть сообщение
hmm so what you last thing you edited?, check if there any bracket "{" opened->not closed in a callback (can cause this)
In this care, i would get other errors not this!


Re: OnPlayerCommandText - TitanX - 10.03.2017

Quote:
Originally Posted by Hunud
Посмотреть сообщение
In this care, i would get other errors not this!
in this case everything can be cause of this, brackets rarely make something like that, but i want to be sure if the problem from it or no

use Sublime Text 3 to check it