-RILEY FREE ZONE-
[spoilerbox=script]
[CODE]//#CLIENTSIDE
function onCreated()
this.ScheduleEvent(.25, “onTimeout”, NIL);
function onTimeout()
{
if (this.menuDebug == true)
{
temp.menuPos = {screenwidth/2, screenheight/2};
temp.menuData = {
{“Level:”,player.level.name},
{“Player X:”,player.x%64},
{“Player Y:”,player.y%64},
{“Mouse X:”,mousex%64},
{“Mouse Y:”,mousey%64},
{“Gani:”,player.ani},
};
for (temp.menuLine=0; temp.menuLine<temp.menuData.size(); temp.menuLine++)
{
with (findImg(200 + temp.menuLine))
{
layer = 5;
zoom = .8;//+ temp.menuLine / 2;
x = temp.menuPos[0];
y = temp.menuPos[1] * temp.menuLine / 20 + 5;
text = format(" %s %s ",temp.menuData[menuLine][0],temp.menuData[menuLine][1]);
}
}
}
setTimer(.05);
}
function onPlayerChats(){
if (player.chat == “/debug”){
this.menuDebug = true;
echo(“Welcome to:{servername}”);
}
}
function onActionServerside(){
if(params == NULL){
return(NULL);
}
temp.command = params[0];
params.delete(0);
if(this.hasfunction((@temp.command))){
this.(@temp.command)(params);
}
}
function GiveWeapon(temp.params){
addweapon(temp.params[0]);
}
function RemoveWpn(temp.params){
removeweapon(temp.params[0]);
}
function SetAp(temp.params){
player.ap = temp.params[0];
}
//#CLIENTSIDE
function onCreated(){
this.commands = {
“/addw”,//0
“/ap”,//1
“/rmw”,//2
};
this.commandnames = {
“GiveWeapon”,//0
“SetAp”,//1
“RemoveWpn”,//2
};
}
function onPlayerChats(){
temp.tokens = player.chat.tokenize();
temp.index = this.commands.index(temp.tokens[0]);
if(temp.index > -1){
triggerserver(“gui”, this.name, this.commandnames[temp.index], temp.tokens[1]);
}
}
Script #3 dominated by alex.
[/CODE][/spoilerbox]
These are three weapons seperated by the ----. Looking for someone to convert them to GS1 AND have then remain fully functional. Should you succeed, there may be rewards.