19.12.2013, 18:19
Quote:
|
There is absolutely no need for multiple filterscripts, use callback hooking and compile them into the gamemode but to answer your question try this.
#include <a_samp> pawn Code:
http://slice-vps.nl:7070/ |
#TeamWork, how ever you could use a stock or like the one below, as long the function with Float: tag needs to be above the function, so it wouldn't give an error: warning 208: function with tag result used before definition, forcing reparsepawn Code:
#include <a_samp>
//Returning a float.
Float:ReturnFloat()
{
return 1.0;
}
//Returning a string
ReturnString(string[])
{
print(string);
return string;
}
//Debug Purposes
main()
{
new Float:RetFloat = ReturnFloat();
printf("%f", RetFloat);
ReturnString("Long String, Test Me, Test me.");
return true;
}
Code:
1.000000 Long String, Test Me, Test me.

