Posts: 624
Threads: 38
Joined: Feb 2010
Reputation:
0
It depends on the function given in strFunction.
For example it is "Foo" and Foo does anything with a string.
Maybe there's a function in Foo that crashes with empty strings ...
Posts: 669
Threads: 15
Joined: Jul 2009
Reputation:
0
That's correct. CallLocalFunction and CallRemoteFunction crash when you pass an empty string.
I suggest passing "\1" and using isnull in the called function to check if it was meant to be empty.
Posts: 41
Threads: 9
Joined: Dec 2007
Reputation:
0
Meta:
public cmd_kill(playerid, params[])
It doesn't deal with the string, the problem come from CallLocalFunction.
ev0lutionnn:
Yeah I already use similar ('%'), thanks.
Posts: 231
Threads: 1
Joined: Sep 2009
Reputation:
0
What crash message are you getting? Are you getting a server segfault? Linux or windows?
Posts: 41
Threads: 9
Joined: Dec 2007
Reputation:
0
In crashinfo.txt? I don't know what is a server segfault. It's on Windows.