07.06.2009, 13:27
The only solution i can think of now, is to do something like that:
But i think you already knew that.
pawn Код:
#include <a_samp>
main(){}
public OnGameModeInit()
{
print("test1");
new bla[] = ""; // = "blabla";
if (bla[0])
CallRemoteFunction("test", "s", bla);
else
CallRemoteFunction("test", "s", "<NULL>");
print ("test2");
return true;
}
forward test(str[]);
public test(str[])
{
if (!strcmp(str, "<NULL>"))
print("null string");
else
print("not null string");
}