Converting a string to an integer [I think]
#2

pawn Код:
if(health <= 400) return SendClientMessage(playerid, COLOR_RED, "This vehicle is too damaged.");
PlayerInfo[playerid][pVehHealth] = health;
Also make sure "pVehHealth" is defined as a float in your enum:
pawn Код:
Float:pVehHealth,
Reply


Messages In This Thread
Converting a string to an integer [I think] - by Ciarannn - 22.01.2015, 15:31
Re: Converting a string to an integer [I think] - by Schneider - 22.01.2015, 15:39
Re: Converting a string to an integer [I think] - by Ciarannn - 25.01.2015, 14:45
Re: Converting a string to an integer [I think] - by Ciarannn - 25.01.2015, 14:54
Re: Converting a string to an integer [I think] - by Sawalha - 25.01.2015, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)