21-10-2008, 03:26 PM
Hmmm :/
Method or data member not found
Here's my code:
[spoiler]Server Side
[code]' ::::::::::::::::::::::::
' :: Warn player packet ::
' ::::::::::::::::::::::::
Sub HandleWarnPlayer(ByVal Index As Long, ByRef Parse() As String)
Dim n As Long
' Prevent hacking
If GetPlayerAccess(Index)
Method or data member not found
Code:
Function GetPlayerWarning(ByVal Index As Long) As Long
GetPlayerWarning = Player(Index).Char(TempPlayer(Index).CharNum).Warning
End Function
Here's my code:
[spoiler]Server Side
Code:
Function GetPlayerWarning(ByVal Index As Long) As Long
GetPlayerWarning = Player(Index).Char(TempPlayer(Index).CharNum).Warning
End Function
Sub SetPlayerWarning(ByVal Index As Long, ByVal Warning As Byte)
Player(Index).Char(TempPlayer(Index).CharNum).Warning = Warning
End Sub
Code:
Case CWarnPlayer
HandleWarnPlayer Index, Parse
[code]' ::::::::::::::::::::::::
' :: Warn player packet ::
' ::::::::::::::::::::::::
Sub HandleWarnPlayer(ByVal Index As Long, ByRef Parse() As String)
Dim n As Long
' Prevent hacking
If GetPlayerAccess(Index)