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/ |
pawn 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.