Raised This Month: $51 Target: $400
 12% 

Blockmaker - Adding Blocks (12 Step) In-Depth | Updated 12/24/2013!


Post New Thread Reply   
 
Thread Tools Display Modes
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 10-23-2010 , 22:58   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #271

Quote:
Originally Posted by CSGAM3R View Post
Hey, Can you help me do a XP block? I have XP mode on my server, and i wanted a block that when you step on it you get like 125 xp, and you can only get it once per round... Peaaace!
It's been posted multiple times, search.
__________________
Hi.
Kreation is offline
matula
Junior Member
Join Date: Jul 2010
Old 11-23-2010 , 07:59   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #272

I have changed blockmaker menu in sma file but when i go to my server nothing hapens,
the blockmaker menu stays the same! Why?
matula is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-23-2010 , 08:28   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #273

Quote:
Originally Posted by matula View Post
I have changed blockmaker menu in sma file but when i go to my server nothing hapens,
the blockmaker menu stays the same! Why?
You have to compile the .sma file and install the .amxx file to your server.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
G9LAZ7
Junior Member
Join Date: Dec 2010
Location: 香港
Old 05-14-2011 , 06:05   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #274

how about adding Blockmaker Size?
like SPlagre
G9LAZ7 is offline
Send a message via MSN to G9LAZ7
Old 07-01-2011, 12:55
stekarN
This message has been deleted by stekarN. Reason: writed
stekarN
Junior Member
Join Date: Jun 2011
Location: Sweden
Old 07-02-2011 , 03:16   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #275

Thanks for the tut man xD you are the best ;)
__________________
[XP Mod] [100% Private!]
[Blockmaker] [100% Private!]
[PointMod] [100% Private!]
Read this abowe!

Want to buy this things abowe??So contact me on skype! Skype Name: jeppeii

Last edited by stekarN; 07-02-2011 at 03:16. Reason: hahaha
stekarN is offline
Send a message via Skype™ to stekarN
Old 08-23-2011, 14:08
stekarN
This message has been deleted by stekarN.
Old 08-23-2011, 14:09
stekarN
This message has been deleted by stekarN.
Old 08-23-2011, 14:12
stekarN
This message has been deleted by stekarN. Reason: BuMp
stekarN
Junior Member
Join Date: Jun 2011
Location: Sweden
Old 08-24-2011 , 10:02   Re: Blockmaker - Adding Blocks (Step-By-Step)
Reply With Quote #276

Hey i founded a m4a1 ;) Here is the actioncode!

PHP Code:
actionM4A1(id)
{
    if (
is_user_alive(id) && !M4a1Used[id] && get_user_team(id) == 1)
        {
        
give_item(id"weapon_m4a1");
        
cs_set_weapon_ammo(find_ent_by_owner(2"weapon_m4a1"id), 2);
        
M4a1Used[id] = true;
        new 
M4A1name[42];
        
get_user_name(idM4A1name32);
        
set_hudmessage(255,255255, -1.0, -1.006.04.0);
        
show_hudmessage(0"%s is playing around with an colt!"M4A1name);
    }

__________________
[XP Mod] [100% Private!]
[Blockmaker] [100% Private!]
[PointMod] [100% Private!]
Read this abowe!

Want to buy this things abowe??So contact me on skype! Skype Name: jeppeii
stekarN is offline
Send a message via Skype™ to stekarN
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-10-2011 , 14:38   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #277

Made this random grenade block today.
Thought some else might want this or any other random weapons code so here you go
PHP Code:
actionRandomGren(id)
{
    if (
gbGrenUsed[id])
        return 
PLUGIN_CONTINUE;
    
    else
    {
        new const 
Grens[][]=
        {
            
"weapon_hegrenade",
            
"weapon_flashbang",
            
"weapon_smokegrenade"
        
};    
        
        
give_item(idGrens[random(sizeof (Grens))]);
        
gbGrenUsed[id] = true;
    }
    
    return 
PLUGIN_CONTINUE;

and DO NOT! forget to add:
new bool:gbGrenUsed["yourmaxplayerslimit"] before the init.
and set gbGrenUsed[id] = false; in resetTimers function!

Last edited by Erox902; 09-10-2011 at 17:39.
Erox902 is offline
Exakt
New Member
Join Date: Aug 2011
Old 09-13-2011 , 17:48   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #278

It's a really nice guide, thank you for posting it
I have now added Awp, Usp and Deagle block with success!

However, I would really like to add XPblock, and delayed bhop blocks.
The big problem is that I can't really understand how to add other blocks then weaponblocks.
Could someone help me?
I'm a noob regarding coding. People have just posted the actioncodes for them, is that really all I need to add?
Tried to add xpblock, by following the firstpage guide, and it didn't even went close to working :/

Perhaps even add them for me, if someone rather adds them for me, just go ahead and take a "clean" .sma from Necro's BM and add there. I can add the weaponblocks myself.
And tell me which part I should change to increase or decrease the delay.
Exakt is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-14-2011 , 05:03   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #279

Quote:
Originally Posted by Exakt View Post
It's a really nice guide, thank you for posting it
I have now added Awp, Usp and Deagle block with success!

However, I would really like to add XPblock, and delayed bhop blocks.
The big problem is that I can't really understand how to add other blocks then weaponblocks.
Could someone help me?
I'm a noob regarding coding. People have just posted the actioncodes for them, is that really all I need to add?
Tried to add xpblock, by following the firstpage guide, and it didn't even went close to working :/

Perhaps even add them for me, if someone rather adds them for me, just go ahead and take a "clean" .sma from Necro's BM and add there. I can add the weaponblocks myself.
And tell me which part I should change to increase or decrease the delay.
Xp blocks actions have been posted multiple times just check the tread...
Bhop blocks on the other hand is done diffrently so check in the "pnf_touch" function how it's done there if I remember correctly.
Erox902 is offline
Exakt
New Member
Join Date: Aug 2011
Old 09-14-2011 , 09:18   Re: Blockmaker - Adding Blocks (Step-By-Step) UPDATED 7/16/2010!!
Reply With Quote #280

Quote:
Originally Posted by Erox902 View Post
Xp blocks actions have been posted multiple times just check the tread...
Bhop blocks on the other hand is done diffrently so check in the "pnf_touch" function how it's done there if I remember correctly.
Don't know if you didn't see that I have already tried to add xpblock, but I can't get it right.
How come only the actionsection for xpblocks are sended? Do I still add a data holder on [33]?

I just don't understand, awp and usp could I simply just look at, and see what to do since the big simularity to deagleblocks.

Please explain, here or in pm. Help a fellow countryman
Exakt 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 14:43.


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