Quick question about '\1'
#5

Quote:
Originally Posted by Riwerry
Посмотреть сообщение
Yeah, that's true I'm using it for empty string in CallLocalFunction, but \0 not work, I've tried this:
pawn Код:
CallLocalFunction(cmdname, "is", playerid, "\0");
//and this too
CallLocalFunction(cmdname, "is", playerid, '\0');
Both crashes server
"\0" is END OF STRING
if 1st character is end of string, obviously it will have troubles.

Just do not use it. You do not need to pass empty string.
Unless you want to crash the server... Which I once did
Reply


Messages In This Thread
Quick question about '\1' - by Riwerry - 28.06.2014, 15:32
Re: Quick question about '\1' - by Laurey - 28.06.2014, 15:47
Re: Quick question about '\1' - by [WSF]ThA_Devil - 28.06.2014, 15:49
Re: Quick question about '\1' - by Riwerry - 28.06.2014, 15:54
Re: Quick question about '\1' - by [WSF]ThA_Devil - 28.06.2014, 15:56
Re: Quick question about '\1' - by Riwerry - 28.06.2014, 16:01
Re: Quick question about '\1' - by Konstantinos - 28.06.2014, 16:23
Re: Quick question about '\1' - by iZN - 28.06.2014, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)