View Full Version : Starting a script
Liamwitdre
05-22-2012, 05:40 PM
Ok so im having trouble starting w100 shantay bonfires script, it keeps on notifying me that there is an unkown identifier on line 40 (which is my username for runescape):
[Error] (41:22): Unknown identifier '(my rs name is here)' at line 40
Compiling failed.
this is the script: http://villavu.com/forum/showthread.php?t=82691
I'm new here so go easy on me :)
At that line - you have to actually put your rs username...
You have it like this, yes?
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'name'; //this
Players[0].Pass := '';
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;
Liamwitdre
05-22-2012, 05:49 PM
You have it like this, yes?
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'name'; //this
Players[0].Pass := '';
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;
I have it like this (blocked out my username and pass for obvious reasons)
http://puu.sh/waMj
From what i can see you are missing the 's (simply, the letters are not blue). It's a string :)
Liamwitdre
05-22-2012, 05:54 PM
From what i can see you are missing the 's (simply, the letters are not blue). It's a string :)
what can I do to resolve the issue?
Look at what i posted earlier :)
:= 'name'; // add '
Liamwitdre
05-22-2012, 06:04 PM
Look at what i posted earlier :)
:= 'name'; // add '
I realise now, thankyou for you help kind sir
+rep
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.