Creating House Problem.... Writing A File With SII
#2

pawn Код:
INI_WriteInt(File, "Price",HousePrice);//Writing in the place "Price" the inputted "Price" value.
    INI_WriteInt(File, "Owned",0);//Setting to "Owned" = 0 in the ini file.
    INI_WriteInt(File, "VirtualWorld",GetPlayerVirtualWorld(playerid));//Writing "VirtualWorld" = GetPlayerVirtualWorld(..);
    INI_WriteFloat(File, "XPos",x);//Writing the players pos for the check point position.
    INI_WriteFloat(File, "YPos",y);//Self explanatory.
    INI_WriteFloat(File, "ZPos",z);//Self explanatory.
    INI_WriteString(File, "Owner","Nonusablenameforthishouse");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)