Author Topic: I got blue screen  (Read 774 times)

0 Members and 1 Guest are viewing this topic.

Offline gnostische Daseins

  • Major(1)
  • Posts: 4
I got blue screen
« on: August 09, 2007, 11:04:21 pm »
hi guys. i need your help.
i coded this logic in OnPlayerCommand.

function OnPlayerCommand(ID: Byte; Text: string): boolean;
var
 Â name:string;
 Â i:integer;
begin
 Â result:=false;
 Â if text='/test' then
 Â begin
 Â   result:=true;
 Â   for i:=1 to 32 do
 Â   begin
 Â     name:=idtoname(i);
 Â     if name='foo' then
 Â       command('/setteam1 '+inttostr(i))
 Â     else
 Â       command('/setteam2 '+inttostr(i));
 Â   end;
 Â end;
end;

more execute /setteam command then get a blue screen possibility is high.
i want know cause where error occurs and method of solutions.

thx for time. :)

Offline extreemer

  • Soldier
  • **
  • Posts: 100
Re: I got blue screen
« Reply #1 on: August 15, 2007, 02:11:43 pm »
lol i cant help you sry mate

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: I got blue screen
« Reply #2 on: August 19, 2007, 12:57:21 am »
what's the script sposed to do?
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."