Descriere: este util.
Download:
Cod: Selectaţi tot
by rampage 0.1
using namespace std;
int main(int argc, char *argv[]) {
FILE *datei;
short int item=0;
short int run=1;
short int bindings=0;
short int key=0;
short int exec=0;
char number=0;
char wep[80];
system("title CS:GO BuyscriptGen by rAMPAGE v0.2");
system("color 0b");
system("cls");
cout<<"Muss eine autoexec.cfg noch erstellt werden?\nFalls du nicht weisst was das ist, muss eine erstellt werden!"<<endl;
cout<<"Mit \"j\" wird eine erstellt mit \"n\" wird keine erstellt!\nWenn du keine Ahnung hast was das ist, musst du \"j\" druecken!\nMit Esc schliest du das Programm!"<<endl;
cout<<"Eingabe: ";
while (exec==0){
exec=getch();
switch (exec){
case 106:datei = fopen ("autoexec.cfg", "w");
fprintf(datei, "%s","exec buyscript.cfg\n");
fclose(datei);
break;
case 110:exec=1;
break;
case 27:return 0;
break;
default:exec=0;
break;
}
}
datei = fopen ("buyscript.cfg", "w");
fprintf (datei, "%s","clear\necho Buyscript geladen...\necho Buyscript mit ScriptGen v0.2 by rampage erstellt!\n.SENF' take ctrl!\n\n");
while (run==1){
bindings++;
system("cls");
cout<<"scripter by rampage\nVersion 0.2"<<endl<<endl;
cout<<"Binding Nummer: "<<bindings<<endl<<endl;
cout<<"In dieser Version koennen Sie nur das Numpad und F1 bis F12 verwenden!"<<endl;
cout<<"Esc druecken um das Programm zu beenden die cfg-Datei wird dann gespeichert!"<<endl;
cout<<"Druecken Sie Die Taste welche fuer das Bind Verwendet werden soll!\nNur die Taste druecken Sie brauchen nicht mit Enter bestaetigen!\nEingabe: ";
while (key==0){
key=getch();
switch (key){
case 49:strcpy(wep,"bind \"KP_end\"");
break;
case 50:strcpy(wep,"bind \"KP_downarrow\"");
break;
case 51:strcpy(wep,"bind \"KP_PGDN\"");
break;
case 52:strcpy(wep,"bind \"KP_leftarrow\"");
break;
case 53:strcpy(wep,"bind \"KP_5\"");
break;
case 54:strcpy(wep,"bind \"KP_rightarrow\"");
break;
case 55:strcpy(wep,"bind \"KP_home\"");
break;
case 56:strcpy(wep,"bind \"KP_UPARROW\"");
break;
case 57:strcpy(wep,"bind \"KP_PGUP\"");
break;
case 59:strcpy(wep,"bind \"F1\"");
break;
case 60:strcpy(wep,"bind \"F2\"");
break;
case 61:strcpy(wep,"bind \"F3\"");
break;
case 62:strcpy(wep,"bind \"F4\"");
break;
case 63:strcpy(wep,"bind \"F5\"");
break;
case 64:strcpy(wep,"bind \"F6\"");
break;
case 65:strcpy(wep,"bind \"F7\"");
break;
case 66:strcpy(wep,"bind \"F8\"");
break;
case 67:strcpy(wep,"bind \"F9\"");
break;
case 68:strcpy(wep,"bind \"F10\"");
break;
case 133:strcpy(wep,"bind \"F11\"");
break;
case 134:strcpy(wep,"bind \"F12\"");
break;
case 47:strcpy(wep,"bind \"-\"");
break;
case 42:strcpy(wep,"bind \"KP_multiply\"");
break;
case 45:strcpy(wep,"bind \"KP_minus\"");
break;
case 43:strcpy(wep,"bind \"KP_plus\"");
break;
case 13:strcpy(wep,"bind \"KP_enter\"");
break;
case 44:strcpy(wep,"bind \"KP_del\"");
break;
case 48:strcpy(wep,"bind \"KP_ins\"");
break;
case 27:fclose (datei);
return 0;
break;
default:key=0;
item=0;
break;
}
}
system("cls");
cout<<endl<<"Welcher Gegendstand soll gebindet werden?"<<endl;
cout<<"Sie muessen wieder nur die Taste druecken, Sie muessen nicht mit Enter bestaetigen!"<<endl;
cout<<"Esc druecken um das Programm zu beenden die cfg-Datei wird dann gespeichert!"<<endl;
cout<<"M4/AK47\t\t<1>"<<endl;
cout<<"AWP\t\t<2>"<<endl;
cout<<"MP5\t\t<3>"<<endl;
cout<<"UMP\t\t<4>"<<endl;
cout<<"Deagle\t\t<5>"<<endl;
cout<<"USP\t\t<6>"<<endl;
cout<<"Glock\t\t<7>"<<endl;
cout<<"defKit\t\t<8>"<<endl;
cout<<"HE\t\t<9>"<<endl;
cout<<"Flash\t\t<a>"<<endl;
cout<<"Smoke\t\t<b>"<<endl;
cout<<"kevler helm\t<c>"<<endl;
cout<<"p90\t\t<d>"<<endl;
cout<<"scout\t\t<e>"<<endl;
cout<<"Molotov\t\t<f>"<<endl;
cout<<"\nEingabe: ";
while (item==0){
item=getch();
switch (item){
case 49: strcat( wep, " \"buy ak47; buy m4a1\"\n" );
break;
case 50: strcat( wep, " \"buy awp\"\n" );
break;
case 51: strcat( wep, " \"buy mp5\"\n" );
break;
case 52: strcat( wep, " \"buy ump45\"\n" );
break;
case 53: strcat( wep, " \"buy deagle\"\n" );
break;
case 54: strcat( wep, " \"buy usp\"\n" );
break;
case 55: strcat( wep, " \"buy glock\"\n" );
break;
case 56: strcat( wep, " \"buy defuser\"\n" );
break;
case 57: strcat( wep, " \"buy hegrenade\"\n" );
break;
case 97: strcat( wep, " \"buy flashbang\"\n" );
break;
case 98: strcat( wep, " \"buy smokegrenade\"\n" );
break;
case 99: strcat( wep, " \"buy vesthelm\"\n" );
break;
case 100: strcat( wep, " \"buy p90\"\n" );
break;
case 101: strcat( wep, " \"buy scout\"\n" );
break;
case 102: strcat( wep, " \"buy molotov\"\n" );
break;
Sursa (Link-ul oficial): Imagini: -
Propria parere: Enjoy!