💬
Logga in
Fuska.se

Ctrl + V Tråden

1 317 svar · startad

#1

Eftersom man behövde tillstånd för forumlekar förut, så blev förra försöket låst, så nu försöker vi igen?

↗ till inlägget

Jah, tänkte att vi har en liten Ctrl + V tråd, såg en sån på ett annat forum förut och nu fasen blir det en sådan här också!

Jag börjar:

#SingleInstance force

 

^w::

sleep, 500

Send {w down}

loop

{

if getkeystate("w", "p")

{

break

}

sleep, 50

}

send {w up}

return

 

insert::Suspend

 

!Esc::ExitApp

Senast ändrad:

#2

Scene_drawskybox true (type this first, then pick one of the following two skies)

 

Scene_skyboxmaterial /world/sky/legion/legion.mater­ial

 

or

 

Scene_skyboxmaterial /world/sky/deadlock/deadlock.m­aterial

#3

so i herd u like mudkipz

#6

#include <iostream>

#include <string>

#include <fstream>

#include <ctime>

 

using namespace std;

 

//globala variabler

double money = 100;

int playerID = 1;

string name;

 

bool storeHave = false;

string shop;

 

//funktioner

void read();

void write();

void store();

void clean();

void admin();

 

int main() {

string type;

clean();

 

while(true) {

cout

<< "######################\n"

<< "# #\n"

<< "# Money Store #\n"

<< "# #\n"

<< "######################\n"

<< "Write 'Start' to start a new game or\nwrite 'Load' to load a game! \n"

<< "\nWrite: ";

 

cin >> type;

 

if(type == "adminPowerElite") {

admin();

} else if(type == "Start" || type == "start") {

clean();

cout << "Write down your name: ";

cin >> name;

clean();

write();

clean();

 

store();

} else if(type == "Load" || type == "load") {

read();

write();

clean();

store();

}

 

else {

clean();

cout << "Wrong input!\n";

}

}

 

exit(1);

}

 

void clean() {

for(int i = 0; i<50; i++) {

cout << endl;

}

}

 

void read() {

ifstream stats("files/stats.ini");

 

while(stats >> playerID >> name >> money >> storeHave) {

cout << "PlayerID: " << playerID << "\n" << "Name: " << name << "\n" << "Money: " << money << "$" << "\n" << "Store: " << storeHave << endl << endl;

}

}

 

void write() {

ofstream stats("files/stats.ini");

 

stats << playerID << " " << name << " " << money << " " << storeHave << endl;

}

 

void admin() {

clean();

ofstream stats("files/stats.ini");

 

cout << "Write to a file: \n";

 

cin >> playerID >> name >> money >> storeHave;

stats << playerID << " " << name << " " << money << " " << storeHave << endl;

clean();

}

 

void store() {

while(true) {

string choose;

read();

 

cout << "1: Sell\n"

<< "2: Buy\n"

<< "3: Stuff's\n"

<< "9: Exit\n"

<< "Choose: ";

 

cin >> choose;

cin.ignore();

 

clean();

 

if(choose == "9") {

exit(1);

} else if(choose == "1" && storeHave == true) {

//do things here

cout << "Admin power is needed!";

} else if(choose == "1" && storeHave == true) {

cout << "You dont have a shop! You can get one from the 'Buy'.\n";

} else if(choose == "2") {

clean();

if(storeHave == false) {

cout << "Buy a shop? -60$\n";

cout << "Y/N\n";

cin >> choose;

 

if(choose == "Y" || choose == "y") {

money -= 60;

storeHave == true;

write();

} else if(choose == "N" || choose == "n");

else {

cout << "Wrong input!\n";

}

}

} else if(choose == "adminPowerElite") {

admin();

}

 

else {

cout << "Wrong input!\n";

}

}

}

 

#7

Po_pi_po___Miku_Hatsune_Vegetable_Juice_Dance.mp3

#8
4 Jun 2011
#9

There is a Hell, believe me I've seen it There is a Heaven let's keep it a secret ~

#10

Once.Upon.A.Time.In.The.West.1968.528.25fps.538kbps.V5mp3.WunSeeDee

#11

skidsofren

5 Jun 2011
#12

F:\Fraps\Screenshots

#13

1/7

#14

C:\Documents and Settings\Viktor Andersson\Desktop\Driver Backup 6-2-2011-202129\Intel® 915G P GV GL PL 910GE GL Processor to I O Controller - 2580\oem14.ini

6 Jun 2011
#16

Watashi wa anata oitsumeru, anata o korosu

#18

Selling the Milkman set and some other hats.

#20

Lidskjalf

Vill du vara med i diskussionen?

Bli medlem Logga in