Loading string from a file and inserting it into other string
#1

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


Forum Jump:


Users browsing this thread: 1 Guest(s)