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

Donīt use "E" to move the block


Post New Thread Reply   
 
Thread Tools Display Modes
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-28-2010 , 14:20   Re: Donīt use "E" to move the block
Reply With Quote #11

Or just create info_target and play with MOVETYPE_*
__________________
xPaw is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 04-28-2010 , 14:28   Re: Donīt use "E" to move the block
Reply With Quote #12

PHP Code:
stock create_moneybagmodel[], Float:origin[3], Float:angle 0.0 )
{
    new 
ent create_entity("info_target"
    

    
entity_set_origin(ent,origin)

    
entity_set_string(ent,EV_SZ_classname,"ts_model"); 
    
entity_set_model(ent,model); 
    
entity_set_int(ent,EV_INT_solid3
    
entity_set_int(ent,EV_INT_movetype13
    
    
    
   


    
entity_set_byte(ent,EV_BYTE_controller1,1); 
    
entity_set_byte(ent,EV_BYTE_controller2,1); 
    
entity_set_byte(ent,EV_BYTE_controller3,1); 
    
entity_set_byte(ent,EV_BYTE_controller4,1); 


    new 
Float:maxs[3] = {32.032.010.0}; 
    new 
Float:mins[3] = {-32.0, -32.0, -10.0}; 
    new 
Float:angles[3] = { 0.00.00.0 }
    
angles[1] = angle
    entity_set_size
(ent,mins,maxs)
    
entity_set_vectorentEV_VEC_anglesangles )

    
entity_set_float(ent,EV_FL_animtime,2.0
    
entity_set_float(ent,EV_FL_framerate,1.0
    
entity_set_int(ent,EV_INT_sequence,1); 

    return 
PLUGIN_HANDLED

It doesnīt work
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
Old 08-24-2016, 17:59
Neon123
This message has been deleted by Neon123.
Neon123
Senior Member
Join Date: Jan 2016
Old 08-24-2016 , 18:01   Re: Donīt use "E" to move the block
Reply With Quote #13

RegisterHam(Ham_Use, "func_pushable", "fw_UsePushable")
Neon123 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 07:42.


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