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



Problem - TheSnaKe - 02.12.2013

Hey guys, am using in my server LuxAdmin, And when i remove the lux LuxAdmin from the server.cfg the chat is fine if i add the LuxAdmin in the server.cfg i can't type on chat and i got no errors in the LuxAdmin. Anyone can help me please?


Re: Problem - Voxel - 02.12.2013

That is probably because the string is to short, can you show us the OnPlayerText from the luxadmin script?

Or just increase the string, for example:
pawn Код:
//OnPlayerText
new string[50]; //this means only 50 letters can be used
//make it
new string[128]; //im not sure but SAMP has a chat limit anyway
You can also choose to remove it but you might risk getting some compiling errors if you do not know how to remove a string properly from a piece of code.