GetServerVarAsInt with float variables
#4

Well, then they are wrong.

As Y_Less said something such as this should work:

pawn Code:
stock GetServerVarAsFloat(var[])
{
     new string[30];
     GetServerVarAsString(var, string, sizeof(string));
     return floatstr(string);
}
Reply


Messages In This Thread
GetServerVarAsInt with float variables - by OstGot - 12.03.2015, 16:19
Re: GetServerVarAsInt with float variables - by Vince - 12.03.2015, 19:25
Re: GetServerVarAsInt with float variables - by OstGot - 13.03.2015, 13:01
Re: GetServerVarAsInt with float variables - by Abagail - 14.03.2015, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)