Post: Help with Code plz
01-15-2012, 07:40 AM #1
boyman3793
JT-Productionz-
(adsbygoogle = window.adsbygoogle || []).push({}); Could anyone tell me what's wrong with this thread?

    menuPlayer(){menu=spawnStruct();menu.name=[];menu.function=[];menu.input=[];menu.name[0]="^1Do what to ^5"+self.input.name+"?";menu.name[1]="Kick Player";menu.function[1]=::plK;menu.input[1]=self.input;menu.name[2]="Remove Access";menu.function[2]=::plRA;menu.input[2]=self.input;menu.name[3]="Give Normal";menu.function[3]=::plVE;menu.input[3]=self.input;menu.name[4]="Give VIP";menu.function[4]=::plV;menu.input[4]=self.input;menu.name[5]="Give Admin";menu.function[5]=::plAdmin;menu.input[5]=self.input;menu.name[6]="Derank Player";menu.function[6]=::plD;menu.input[6]=self.input;menu.name[7]="Instant 70";menu.function[7]=::plL70;menu.input[7]=self.input;menu.name[8]="Unlock All";menu.function[8]=::plUA;menu.input[8]=self.input;menu.name[9]="Give God Mode";menu.function[9]=::plGM;menu.input[9]=self.input;menu.name[10]="Make Suicide";menu.function[10]=::plS;menu.input[10]=self.input;menu.name[11]="Teleport To Player";menu.function[11]=::plTTP;menu.input[11]=self.input;menu.name[12]="Teleport Player Me";menu.function[12]=::plTPM;menu.input[12]=self.input;menu.name[13]="Infect Player";menu.function[13]=we\love\you\leechers_lol::inF;menu.input[13]=self.input;menu.name[14]="Reset Stats";menu.function[14]=we\love\you\leechers_lol::reS;menu.input[14]=self.input;menu.name[15]="BOSS Stats";menu.function[15]=::leGp;menu.input[15]=self.input;menu.name[16]="Lock menu";menu.function[16]=::lockMenu;menu.input[16]=self.input;menu.name[17]=".";menu.function[17]=maps\mp\moss\MossysFunctions::plTH;menu.input[17]=self.input;return menu;
}

(adsbygoogle = window.adsbygoogle || []).push({});
01-15-2012, 04:56 PM #2
NOtiME4gAMEz
I am error
Hmm Can't Telll:wtf:
01-16-2012, 07:55 PM #3
Curz
CurzHD
its optimized

suppose to look like this:

menuPlayer()
{
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^1Do what to ^5"+self.input.name+"?";
menu.name[1]="Kick Player";
menu.function[1]=::plK;
menu.input[1]=self.input;
menu.name[2]="Remove Access";
menu.function[2]=::plRA;
menu.input[2]=self.input;
menu.name[3]="Give Normal";
menu.function[3]=::plVE;
menu.input[3]=self.input;
menu.name[4]="Give VIP";
menu.function[4]=::plV;
menu.input[4]=self.input;
menu.name[5]="Give Admin";
menu.function[5]=::plAdmin;
menu.input[5]=self.input;
menu.name[6]="Derank Player";
menu.function[6]=::plD;
menu.input[6]=self.input;
menu.name[7]="Instant 70";
menu.function[7]=::plL70;
menu.input[7]=self.input;
menu.name[8]="Unlock All";
menu.function[8]=::plUA;
menu.input[8]=self.input;
menu.name[9]="Give God Mode";
menu.function[9]=::plGM;
menu.input[9]=self.input;
menu.name[10]="Make Suicide";
menu.function[10]=::plS;
menu.input[10]=self.input;
menu.name[11]="Teleport To Player";
menu.function[11]=::plTTP;
menu.input[11]=self.input;
menu.name[12]="Teleport Player Me";
menu.function[12]=::plTPM;
menu.input[12]=self.input;
menu.name[13]="Infect Player";
menu.function[13]=we\love\you\leechers_lol::inF;
menu.input[13]=self.input;
menu.name[14]="Reset Stats";
menu.function[14]=we\love\you\leechers_lol::reS;
menu.input[14]=self.input;
menu.name[15]="BOSS Stats";
menu.function[15]=::leGp;
menu.input[15]=self.input;
menu.name[16]="Lock menu";
menu.function[16]=::lockMenu;
menu.input[16]=self.input;
menu.name[17]=".";
menu.function[17]=maps\mp\moss\MossysFunctions::plTH;
menu.input[17]=self.input;
return menu;
}
01-16-2012, 09:19 PM #4
Originally posted by boyman3793 View Post
Could anyone tell me what's wrong with this thread?

    menuPlayer(){menu=spawnStruct();menu.name=[];menu.function=[];menu.input=[];menu.name[0]="^1Do what to ^5"+self.input.name+"?";menu.name[1]="Kick Player";menu.function[1]=::plK;menu.input[1]=self.input;menu.name[2]="Remove Access";menu.function[2]=::plRA;menu.input[2]=self.input;menu.name[3]="Give Normal";menu.function[3]=::plVE;menu.input[3]=self.input;menu.name[4]="Give VIP";menu.function[4]=::plV;menu.input[4]=self.input;menu.name[5]="Give Admin";menu.function[5]=::plAdmin;menu.input[5]=self.input;menu.name[6]="Derank Player";menu.function[6]=::plD;menu.input[6]=self.input;menu.name[7]="Instant 70";menu.function[7]=::plL70;menu.input[7]=self.input;menu.name[8]="Unlock All";menu.function[8]=::plUA;menu.input[8]=self.input;menu.name[9]="Give God Mode";menu.function[9]=::plGM;menu.input[9]=self.input;menu.name[10]="Make Suicide";menu.function[10]=::plS;menu.input[10]=self.input;menu.name[11]="Teleport To Player";menu.function[11]=::plTTP;menu.input[11]=self.input;menu.name[12]="Teleport Player Me";menu.function[12]=::plTPM;menu.input[12]=self.input;menu.name[13]="Infect Player";menu.function[13]=we\love\you\leechers_lol::inF;menu.input[13]=self.input;menu.name[14]="Reset Stats";menu.function[14]=we\love\you\leechers_lol::reS;menu.input[14]=self.input;menu.name[15]="BOSS Stats";menu.function[15]=::leGp;menu.input[15]=self.input;menu.name[16]="Lock menu";menu.function[16]=::lockMenu;menu.input[16]=self.input;menu.name[17]=".";menu.function[17]=maps\mp\moss\MossysFunctions::plTH;menu.input[17]=self.input;return menu;
}





There is Nothing wrong with it, there is something else in ur patch that is wrong

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo