AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   me/N00b needs Need Help Converting amx-amxx Regarding Vexd (https://forums.alliedmods.net/showthread.php?t=10531)

zxzDarkCloudzxz 02-22-2005 01:33

me/N00b needs Need Help Converting amx-amxx Regarding Vexd
 
Hi this is my first attempt at anything related to small. im a complete n00b besides knowing java and would really appreciate it if someone could help me change these three lines of code to make use of the new engine include in AMXX


new iEntity = find_entity(-1, "fake_c4")

-when i compile it it doesnt like the find_entity

if(get_offset_int(id, OFFSET_DEFUSE_PLANT) & HAS_DEFUSE_KIT)

-it doesnt like get_offset_int

the sma file uses vexdUM and VexdUM_stock

thanks so much

PM 02-22-2005 12:45

Re: me/N00b needs Need Help Converting amx-amxx Regarding Ve
 
[quote]
new iEntity = find_entity(-1, "fake_c4")
[quote]
Use find_ent_by_class

Quote:

if(get_offset_int(id, OFFSET_DEFUSE_PLANT) & HAS_DEFUSE_KIT)
Use get_pdata_int from fakemeta


All times are GMT -4. The time now is 14:00.

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