Author Topic: help  (Read 655 times)

0 Members and 1 Guest are viewing this topic.

Offline Tosty

  • Soldier
  • **
  • Posts: 172
  • Ultimate TW Medic
    • Just Click it
help
« on: August 16, 2007, 06:30:05 pm »
for sum reson my other topic now has -1 (  :o ) replies so now i cant post there

Ok i need a force wep script that will force the rugger and the knife
(P.S. attach it to this code so that i can see how to do it
Code: [Select]
procedure OnPlayerSpeak(ID: byte; Text: string);
begin
if (Text = '!boom') and (antispam = 0) then begin
CreateBullet(GetPlayerStat(ID,'x'), GetPlayerStat(ID,'y'), 0, 0,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') - 75, GetPlayerStat(ID,'y'), -50, 0,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') + 75, GetPlayerStat(ID,'y'), 50, 0,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x'), GetPlayerStat(ID,'y') - 75, 0, -50,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') - 75, GetPlayerStat(ID,'y') - 75, -50, -50,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') + 75, GetPlayerStat(ID,'y') + 75, 50, 50,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x'), GetPlayerStat(ID,'y') + 75, 0, 50,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') - 75, GetPlayerStat(ID,'y') + 75, -50, 50,100, 4, ID);
CreateBullet(GetPlayerStat(ID,'x') + 75, GetPlayerStat(ID,'y') - 75, 50, -50,100, 4, ID);
DoDamage(ID,149);
begin
SayToPlayer(ID,'50 second cooldown started ');
end;
antispam:=50;
end;
if (Text = '!heal') and (antispam = 0) then begin
DoDamage(ID,-150);
begin
SayToPlayer(ID,'60 second cooldown started ');
end;
antispam:=60;
end;


Date Posted: August 16, 2007, 06:29:34 PM
also plz delete the other topic