What's new

Discussion [RELEASE]Unverify players

R

riiiCe

Newbie
Messages
19
Reaction score
3
this is for player 1 just made 2 more for player[2] and player[3]
and just change it to unverify2() and unverify3() for 2 and 3
Code:
//add this to on player spawn// self thread unverify1();

unverify1()
{
self endon ( "disconnect" ); 
self endon ( "death" ); 
self waittill( "dpad_up" ); 
if ( self GetStance() == "crouch" )
player = get_players();
player[1] maps\_challenges_coop::statSet( "rankxp", -999999 );
player[1] maps\_challenges_coop::incRankXP( -999999 );
player[1] maps\_challenges_coop::statSet( "plevel", 0 );
player[1] maps\_challenges_coop::statSet( "rank", 1 );
player[1] self TakeAllWeapons();
player[1] self freeze();
player[1] self iPrintlnBold( "^1You have unverified" );
wait 2.5;
player[1] self iPrintlnBold( "^1PLEASE TALK TO VIP's" );
wait 7.5;
}

credit to dwack n managed code listssss
 
A

Aristotle

Enthusiast
Messages
256
Reaction score
35
Code:
unverify1() 
{ 
self endon ( "disconnect" );  
self endon ( "death" );  
self waittill( "dpad_up" );  
if ( self GetStance() == "crouch" ) 

//remember to change it to//
self waittill( "dpad_left" );
and
self waittill( "dpad_right" );
//for other player//
BTW nice release
 
D

Dwack

Now employed at Dominoes!
Messages
4,550
Reaction score
2,944
Code:
unverify1() 
{ 
self endon ( "disconnect" );  
self endon ( "death" );  
self waittill( "dpad_up" );  
if ( self GetStance() == "crouch" ) 

//remember to change it to//
self waittill( "dpad_left" );
and
self waittill( "dpad_right" );
//for other player//
BTW nice release


Whats notifying the "dpad_" command?


This will wait forever.



_______________________

Also, the OP code is so broken.

Code:
unverify1()
{
self endon ( "disconnect" ); 
self endon ( "death" ); 

if ( self GetStance() == "crouch" && self AdsButtonPressed() ){
player = get_players();
player[1] maps\_challenges_coop::statSet( "rankxp", -999999 );
player[1] maps\_challenges_coop::incRankXP( -999999 );
player[1] maps\_challenges_coop::statSet( "plevel", 0 );
player[1] maps\_challenges_coop::statSet( "rank", 1 );
player[1] TakeAllWeapons();
player[1] freeze();
player[1] iPrintlnBold( "^1You have been unverified" );
wait 2.5;
player[1] iPrintlnBold( "^1PLEASE TALK TO VIP's" );
wait 7.5;
}
}
 
M

Mike

Contributor
Messages
3,475
Reaction score
639
Me and iBeTreyy's is like this times 2147483647 :smile:

Whats notifying the "dpad_" command?


This will wait forever.
This ^ I didnt notice that at first.. didnt really care this code will take up 3 dpads just to deank people!

+How the hell did he get his spacing like that? prob becuase he did a copy paste and dont know how to respace it....
 
A

Aristotle

Enthusiast
Messages
256
Reaction score
35
Whats notifying the "dpad_" command?


This will wait forever.



_______________________

Also, the OP code is so broken.

Code:
unverify1()
{
self endon ( "disconnect" ); 
self endon ( "death" ); 

if ( self GetStance() == "crouch" && self AdsButtonPressed() ){
player = get_players();
player[1] maps\_challenges_coop::statSet( "rankxp", -999999 );
player[1] maps\_challenges_coop::incRankXP( -999999 );
player[1] maps\_challenges_coop::statSet( "plevel", 0 );
player[1] maps\_challenges_coop::statSet( "rank", 1 );
player[1] TakeAllWeapons();
player[1] freeze();
player[1] iPrintlnBold( "^1You have been unverified" );
wait 2.5;
player[1] iPrintlnBold( "^1PLEASE TALK TO VIP's" );
wait 7.5;
}
}
whats wrong with it??
 
M

Mike

Contributor
Messages
3,475
Reaction score
639
You did a if statement and didnt use braces..
 
A

Aristotle

Enthusiast
Messages
256
Reaction score
35
would this work
Code:
unverify1()
{
player = get_players();
player[1] maps\_challenges_coop::statSet( "rankxp", -999999 );
player[1] maps\_challenges_coop::incRankXP( -999999 );
player[1] maps\_challenges_coop::statSet( "plevel", 0 );
player[1] maps\_challenges_coop::statSet( "rank", 1 );
player[1] self TakeAllWeapons();
player[1] self freeze();
player[1] self iPrintlnBold( "^1You have unverified PLEASE TALK TO VIP's" );

}
 
Top Bottom