23.07.2011, 19:49
pawn Код:
//OnPlayerRegister
format(var, 32, "WantedLevel=%d\n",WantedLevel[playerid]);fwrite(hFile, var);
//OnPlayerUpdate
format(var, 32, "WantedLevel=%d\n",WantedLevel[playerid]);fwrite(hFile, var);
//OnPlayerLogin
if(!strcmp( key , "WantedLevel" , true )) { val = ini_GetValue( Data ); WantedLevel[playerid] = strval( val ); }