AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] 3 Problems (https://forums.alliedmods.net/showthread.php?t=117094)

Excalibur.007 01-29-2010 01:45

[SOLVED] 3 Problems
 
SOLVED
Thanks:
xPaw and 01101101!

xPaw 01-29-2010 06:17

Re: [HELP] 3 Problems
 
entity_set_int( id, EV_INT_oldbuttons, entity_get_int( id, EV_INT_oldbuttons ) | IN_JUMP | IN_DUCK );

You can't replace set_pdata_float.

01101101 01-29-2010 07:12

Re: [HELP] 3 Problems
 
Hook round start, look for all entities with your classname, and remove them. If it is a single entity just store its number.

EDIT: Well also you could store them all in a dynamic array. Your choise depends on how much entities will be created.

Excalibur.007 01-29-2010 19:08

Re: [SOLVED] 3 Problems
 
Thanks solved :D


All times are GMT -4. The time now is 07:29.

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