30-09-2008, 02:06 PM
no need for declare "getfraction as integer"
just make it like this
hope this help.
just make it like this
Code:
Function getplayerfraction(ByVal Index) As Long
getplayerfraction = CLng(GetVar(App.Path & "\fraction.ini", "fraction choice", GetPlayerName(Index)))
End Function
hope this help.