Raised This Month: $ Target: $400
 0% 

[HELP] Multiple skins Blockmaker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 06-09-2013 , 13:57   Re: [HELP] Multiple skins Blockmaker
Reply With Quote #1

Ok I've finally found an easy way to do it
simply need to add these lines in CreateBlock function

PHP Code:
switch ( block_type )
{
    case 
BHOP:        set_pev(iEntity,pev_skin,1);
    case 
DAMAGE:        set_peviEntitypev_skin2);
    case 
HEALER:         set_peviEntitypev_skin3);
    case 
NO_FALL_DAMAGE:    set_peviEntitypev_skin4);
    case 
ICE:        set_peviEntitypev_skin5);
    case 
TRAMPOLINE:    set_peviEntitypev_skin6);
    case 
SPEED_BOOST:    set_peviEntitypev_skin7);
    
//case BLOCK_TYPE:    set_pev( iEntity, pev_skin, SkinID);
        
default:
        {
            
set_peviEntitypev_skin0);
        }

Probably going to edit first post to upload fixed plugins when I get it all finished.
__________________

Last edited by AirShot; 06-09-2013 at 20:03. Reason: nevermind I finally found the right way to do it
AirShot 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 00:55.


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