when i go to download it and i do all that pops up is text that looks like this:
package Terrorist{
function serverCmdKidnap(%client){
if(!%client.isTerrorist || !isObject(%client.player) || !%client.isChiefTerrorist)
return;
%start = %client.player.getEyePoint();
%end = vectorAdd(vectorScale(vectorNormalize(%client.player.getEyeVector()), 5), %start);
%hostage = ContainerRayCast(%start, %end, $TypeMasks::playerObjectType);
if(%hostage){
%client.player.mountObject(%hostage, $backSlot);
%client.hostage = %hostage;
%hostage.playthread(1, look);
%hostage.playthread(1, crouch);
%hostage.canDismount = 0;
} else if(isObject(%client.hostage)){
%hostage = %client.hostage;
%client.hostage = 0;
%client.player.unMountObject(%hostage);
%hostage.playthread(1, root);
%hostage.canDismount = 1;
}
}
function serverCmdExplode(%this){
if(%this.isTerrorist || %this.isChiefTerrorist){
%player = %this.player;
if(%player.getControlObject() !$= "0"){
%Vehicle = %Player.getControlObject();
Vehicle::Damage(%Vehicle, %player, %player.position, 10000,1);
} else if(!%this.isTerrorist){
messageclient(%this,'',"You're not a Terrorist, Why would you want to hurt all these innocent people!");
}
}
}
function servercmdTerrorist(%client,%name){
if(%client.isSuperAdmin || %client.isChiefTerrorist){
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
%testname = %cl.name;
%testname = getword(%testname,0);
if(%testname $= %name){
%found = %cl;
if(%found.isTerrorist == 0 || %found.isChiefTerrorist == 0){messageclient(%found,"","\c0" @ %client.name @ "\c6 has made you a terrorist!");}
%found.isTerrorist = 1;
messageclient(%client,"","\c6You have made \c0" @ %found.name @ " \c6a terrorist!");
}
}
}
}
function servercmdDeTerrorist(%client,%name){
if(%client.isSuperAdmin || %client.isChiefTerrorist){
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
%testname = %cl.name;
%testname = getword(%testname,0);
if(%testname $= %name){
%found = %cl;
if(%found.isTerrorist == 0 || %found.isChiefTerrorist == 0){messageclient(%found,"","\c0" @ %client.name @ "\c6 has made you a civilian.");}
%found.isTerrorist = 0;
%found.isChiefTerrorist = 0;
messageclient(%client,"","\c0" @ %found.name @ "\c6 is now a civilian.");
}
}
}
}
function serverCmdHiJack(%client){
if(%client.isTerrorist || %client.isChiefTerrorist){
%Vehicle = %client.player.getObjectMount();
%Driver = %Vehicle.getControllingObject();
%Passenger = %client.player.getObjectMount();
if(%driver !$="0" && %Passenger !$="0"){
%driver.setControlObject(0);
%vehicle.unMountObject(%driver);
}
}
}
function servercmdChiefTerrorist(%client,%name){
if(%client.isSuperAdmin){
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
%testname = %cl.name;
%testname = getword(%testname,0);
if(%testname $= %name){
%found = %cl;
if(%found.isChiefTerrorist == 0){messageclient(%found,"","\c6You are now the Chief terrorist.");}
%found.isChiefTerrorist = 1;
%found.isTerrorist = 0;
messageclient(%client,"","\c0"@ %found.name @ " \c6 is now Chief terrorist!");
}
}
}
}
function serverCmdIam(%client){
if(%client.isTerrorist){
messageclient(%client,"","\c6Your a \c0Terrorist");
} else if(%client.isChiefTerrorist){
messageclient(%client,"","\c6Your a \c0Chief Terrorist");
} else if(!%client.isTerrorist || !%client.isChiefTerrorist){
messageclient(%client,"","\c6Your a \c0civilian");
}
}
};
activatepackage(Terrorist);
is that what it's meant to be? any way great work i like it i will be looking forward to the hijack and explode one tho.
