Raised This Month: $ Target: $400
 0% 

porting amx plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 03-06-2005 , 12:46  
Reply With Quote #5

Code:
new iEntity = find_entity(-1, "fake_c4") /////////// To: new iEntity = find_ent_by_class ( -1, fake_c4 )

Code:
iEntity = find_entity(-1, "fake_c4") /////////// To: iEntity = find_ent_by_class ( -1, fake_c4 )

but im not sure about the last one, i dont know exactly how offsets are read.
[/small]

Code:
if(get_offset_int(whatever)){ /////////// To: if (entity_get_byte ( id, OFFSET_DEFUSE_PLANT) &  entity_get_byte ( id, HAS_DEFUSE_KIT)){

i dont know if thsi is correct either
if(entity_get_byte ( id, OFFSET_DEFUSE_PLANT) & HAS_DEFUSE_KIT){

try them both, but i know the above wil sove your find_Entity problem.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
 



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 14:07.


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