Hey Villavu, i'm trying to add an Form for my woodcutting script, but when its starts its just terminate the script?
Could anyone take look at it Thanks
@ file is in the attachment.
- Maikel233.
Hey Villavu, i'm trying to add an Form for my woodcutting script, but when its starts its just terminate the script?
Could anyone take look at it Thanks
@ file is in the attachment.
- Maikel233.
It would be better to post it in Code tags
[code] Here [ / code]<without spaces
you can't have two "main begins and ends"
Simba Code:begin
SafeInitForm; // those 2 function are the action form setup. Thise one creates your form
SafeShowFormModal; // and this one makes it visible
end.
will call that and nothing else.
why not do
Simba Code:procedure showForm();
begin
SafeInitForm; // those 2 function are the action form setup. Thise one creates your form
SafeShowFormModal; // and this one makes it visible
end;
Ultimate Guide to Making a Superb Guide | Guide to the New Forum Layout | Guide to Simba's Features!
| Ranks and Cups | Info & Requirements!| Guide to Reputation! | Guide to Posting GOOD Bug ReportsCheck out the Ultimate Guide Directory! It contains every guide ever posted on the forums.
Yes of course: Simba says that the player info is incorrect now.
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(1);
CurrentPlayer := 0;
// PLAYER INFO, TIP Your RS Username, Password, Pin IS NOT REQUIRED SIMPLY DISABLE SMART when Runescape Loads.
// Wielding_Axe:= False;
wielding_axe :=Checkbox1.checked;
Players[0].Name :=Edits[0].text;
Players[0].Pass :=Edits[1].text;
Players[0].Nick :=Edits[2].text;
Players[0].Pin :=Edits[3].text;
Players[0].Active:=True;
Players[0].LampSkill:= skill_woodcutting;
SetScreenName(Players[0].Nick);
end;
If you're getting the "Identifier Expected" error, then at lines 141->143 you have close your procedure using end;!
Remember, whenever you have a begin, it must have an end;!
So just add three end;'s on lines 141, 142 and 143 and it compiles for me.
Ultimate Guide to Making a Superb Guide | Guide to the New Forum Layout | Guide to Simba's Features!
| Ranks and Cups | Info & Requirements!| Guide to Reputation! | Guide to Posting GOOD Bug ReportsCheck out the Ultimate Guide Directory! It contains every guide ever posted on the forums.
There are currently 1 users browsing this thread. (0 members and 1 guests)