Raised This Month: $ Target: $400
 0% 

CheckPoints & GocheckPoints in weapons AMMO


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 12-03-2010 , 13:51   CheckPoints & GocheckPoints in weapons AMMO
Reply With Quote #1

hi, i need plugin which show player Checkpoints and Gochecks (teleports) in Weapon Ammo if its possible :s

here is the picture of ammo, lol, and sry for large image


here is the CP and GC code:
PHP Code:
public Checkpoint(id)
{
    {
    if( !( 
pevidpev_flags ) & FL_ONGROUND2 ) )
    {
        
ColorChat(idGREEN"^x04[Training]^x01 You can't make a checkpoint in the air.");
        return 
PLUGIN_HANDLED;
    }
    
pev(idpev_originCheckpoints[id][g_bCpAlternate[id] ? 0]);
    
g_bCpAlternate[id] = !g_bCpAlternate[id];
    
    
checknumbers[id]++;
    
set_hudmessage(255140100.20.9506.03.0);
    
show_hudmessage(id"Checkpoint #%d"checknumbers[id]);    
    }    
    return 
PLUGIN_HANDLED;
}
public 
GoCheckpoint(id) {
{
    if( !
is_user_aliveid ) )
    {
        
ColorChat(idGREEN"^x04[Training]^x01 You must be alive to use this command.");
        return 
PLUGIN_HANDLED;
    }
    if( 
checknumbers[id] == 0  
    {
        
ColorChat(idGREEN"^x04[Training]^x01 You don't have enough Checkpoints.");
        return 
PLUGIN_HANDLED;
    }
        
    
set_pevidpev_velocityFloat:{0.00.00.0} );
    
set_pevidpev_flagspev(idpev_flags) | FL_DUCKING );
    
set_pevidpev_fuser20.0 );
    
engfuncEngFunc_SetSizeid, {-16.0, -16.0, -18.0 }, { 16.016.018.0 } );
    
set_pev(idpev_originCheckpointsid ][ !g_bCpAlternate[id] ] );
        
    
gochecknumbers[id]++;
    
set_hudmessage(255140100.20.9506.03.0);
    
show_hudmessage(id"GoCheck #%d"gochecknumbers[id]);
        
    }
return 
PLUGIN_HANDLED;


Last edited by JocAnis; 12-03-2010 at 13:59.
JocAnis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode