Raised This Month: $ Target: $400
 0% 

[SOLVED] 3 Problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 01-29-2010 , 01:45   [SOLVED] 3 Problems
Reply With Quote #1

SOLVED
Thanks:
xPaw and 01101101!

Last edited by Excalibur.007; 01-29-2010 at 19:11.
Excalibur.007 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-29-2010 , 06:17   Re: [HELP] 3 Problems
Reply With Quote #2

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.
__________________
xPaw is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 01-29-2010 , 07:12   Re: [HELP] 3 Problems
Reply With Quote #3

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.
01101101 is offline
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 01-29-2010 , 19:08   Re: [SOLVED] 3 Problems
Reply With Quote #4

Thanks solved
Excalibur.007 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:29.


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