AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   let func_tankrocket entity in CS work (https://forums.alliedmods.net/showthread.php?t=114141)

hjkwe654 01-02-2010 08:11

let func_tankrocket entity in CS work
 
maybe i can use this to bind the entity
Code:

RegisterHam(Ham_OnControls, "func_tankrocket", "Control_Tank");

public Control_Tank(this, id) {
  .... etc
}

how to bind func_tankrocket for attack?

joropito 01-02-2010 09:24

Re: let func_tankrocket entity in CS work
 
Quote:

Originally Posted by hjkwe654 (Post 1039953)
maybe i can use this to bind the entity
Code:

RegisterHam(Ham_OnControls, "func_tankrocket", "Control_Tank");

public Control_Tank(this, id) {
  .... etc
}

how to bind func_tankrocket for attack?

Try to create the entity to let hamsandwich know about that kind of entity, registerham and then remove entity.


All times are GMT -4. The time now is 04:02.

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