Raised This Month: $ Target: $400
 0% 

Blockmaker - Magic Carpet [H] [E] [L] [P]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-26-2009 , 09:15   Re: Blockmaker - Magic Carpet [H] [E] [L] [P]
Reply With Quote #8

Xellath you are right, but there also new round, save load, grab etc such stuff with magic carpet, i did one in my bm and i know

PHP Code:
public fwdTouchBlockiEntityid ) {
    if( 
gPlayerAlive[id] ) {
        new 
blockType peviEntitypev_body );
        
        switch( 
blockType ) {
            
// [ ... ]
            
case BM_MAGICCARPET: {
                if( 
get_user_team(id) == ) {
                    new 
Float:vVelocity[3];
                    
pevidpev_velocityvVelocity );
                    
vVelocity[2] = 0.0;
                    
set_peviEntitypev_velocityvVelocity );
                }
            }
        } 
And magiccarpet's movetype should be MOVETYPE_FLY
__________________
xPaw is offline
 



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 15:40.


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