06.02.2011, 19:22
If this can be used to load string and to put it into integer:
As this can be used to load a float :
How can i make this work
Thanks
Code:
if(strcmp(key,"Job",true) == 0 ) { val = ini_GetValue( Data ); pInfo[playerid][pJob] = strval( val ); }
Code:
if(strcmp(key,"HP",true) == 0 ) { val = ini_GetValue( Data ); HP[playerid] = floatstr( val ); }
Code:
if(strcmp(key,"VehiclePlate",true) == 0 ) { val = ini_GetValue( Data ); pVehiclePlate[playerid] = UNKNOWN( val ); }