/* Está função converte uma string para float ou value com o auto-reconhecimento do tipo de valor da mesma Criado por Bruno da Silva wwww.ips-team.blogspot.com */ #define returnValue(%0) \ (strfind(%0, "\x2e", true) != -1) ? floatstr(%0) : strval(%0) //Exemplo: SetPlayerHealth(playerid, returnValue("1.0"));