Raised This Month: $ Target: $400
 0% 

need help! i wanna if i choose day in /daysmenu the cells open automicaly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kard1nal
Senior Member
Join Date: Dec 2012
Location: Russia
Old 02-25-2013 , 04:46   Re: need help! i wanna if i choose day in /daysmenu the cells open automicaly
Reply With Quote #9

Add this code:
Code:
#include <hamsandwich> #include <engine> new g_Buttons[10] public jail_open() {     static i     for(i = 0; i < sizeof(g_Buttons); i++) {         if(g_Buttons[i]) {             ExecuteHamB(Ham_Use, g_Buttons[i], 0, 0, 1, 1.0)             entity_set_float(g_Buttons[i], EV_FL_frame, 0.0)         }     } }
And call jail_open() when you have to open cages.
__________________
Sorry for my English, I'm Russian.
Kard1nal is offline
Send a message via Skype™ to Kard1nal
 



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 21:48.


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