Call SetTimer("tmrtest " & index & "," & X, 15)
Case 1 Dim I Dim armor I = 1 armor = GetPlayerArmorSlot(index) If armor => 1 Then 'From what item # If armor =< 100 Then 'To what item # If GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex") = 1 Then '0 - male; 1 - female Do While (I <= 24) 'Something like that I am now mainly busy with PHP If GetPlayerInvItemNum(INDEX, I) = armor then Call SetPlayerInvItemNum(index, I, int(armor)+100) Call SendInventoryUpdate(INDEX, I) Call SendWornEquipment(index) Call SendPlayerData(index) I = 25 Else I = I + 1 End If Loop End If End If End If End SelectEnd Sub
Sub TMRTEST(index, Script) Case 1 Dim I Dim armor I = 1 armor = GetPlayerArmorSlot(index) If armor => 1 Then 'From what item # If armor =< 100 Then 'To what item # If GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex") = 1 Then '0 - male; 1 - female Do While (I <= 24) 'Something like that I am now mainly busy with PHP If GetPlayerInvItemNum(INDEX, I) = armor then Call SetPlayerInvItemNum(index, I, int(armor)+100) Call SendInventoryUpdate(INDEX, I) Call SendWornEquipment(index) Call SendPlayerData(index) I = 25 Else I = I + 1 End If Loop End If End If End If End SelectEnd Sub
I try to find in main.txt the "Sub TMRTEST(index, Script) "I dont find it!help me please!