|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Apr 2010
Location: Belgrade, Serbia
Posts: 474
Reputation: 12
|
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 ); }
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 ); }
Thanks |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting a certain string in a file | Jochemd | Help Archive | 8 | 01/10/2010 04:35 PM |
| Remove string from a file. | Butilka | Help Archive | 2 | 25/07/2010 05:36 PM |
| How to Delete a string in txt file? | zSuYaNw | Help Archive | 2 | 04/06/2010 12:14 AM |
| File - string search help | GTA_Rules | Help Archive | 6 | 27/07/2009 07:57 PM |
| Loading a string from a file? | kevin433 | Help Archive | 2 | 15/02/2009 01:00 PM |