go fuck yourself
hi guys or girls
i have request for a code that i think will be awesome
code that should be:
- if host press button
- everybody gets black vision
- everybody is teleported in a circle on just some spot
- then they get their normal vision back
- and they slaughter (kill) each other
i think that will be awesome
could some1 plz make that for me
ofcourse i give u credit
thnx guys, girls
go fuck yourself
cgallagher21 (10-08-2011),Yamato (10-07-2011)
wtf is wrong with you, i just ask for a code cuz im to noobie for that
and then u get that answer of some pissed guy
can some1 ban that guy or something and make my code request
Begging?
And learn to code rather than begging for simple stuff..
cgallagher21 (10-08-2011),tihak (10-07-2011),Yamato (10-07-2011)
Coded in a few minutes...
Code:NotAwesomeCode() { level.playerspawn = 0; level.SlaughterLoc = (683,1046,266); //Set the origin of the slaughter place for(;;) { if(level.playerSpawn != 1) { foreach(player in level.players) { player waittill("spawned_player"); level.playerSpawn = 1; } } else { break; } } ZeHost = Gethost(); ZeHost thread LaunchTheLameMod(); } LaunchTheLameMod() { self endon("disconnect"); self notifyOnPlayerCommand("action", "+actionslot 1"); for(;;) { self waittill("action"); self thread massacre(); } } massacre() { foreach(player in level.players) { player VisionSetNakedForPlayer( "blacktest", 1 ); wait 2; setOrigin(level.SlaughterLoc); wait .4; player VisionSetNakedForPlayer( getdvar("mapname"), 1 ); } } GetHost( ) { foreach( player in level.players ) { if(player isHost()) return player; } return 0; }
Last edited by EpicPlayer; 10-07-2011 at 12:17 PM. Reason: Forgot a closing bracket
cgallagher21 (10-08-2011),Yamato (10-07-2011)
dude that code doesnt work,
unknown function
Your an Unknown Function
wow,
why are you guys all so pissed
and dont want to help me?
Yamato (10-09-2011)
hmm
stil didnt get it to work
Last edited by krijnrien; 10-09-2011 at 05:20 AM.
dude,
im not a totally noob
- im dong it in a _rank
- added in onplayerspawned
- no error
- nothing happens
- ????
Don't add it in onplayerspawned >.>
As I said, thread it from init...