Raised This Month: $ Target: $400
 0% 

can't get cs_get_armoury_type to work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-27-2006 , 17:23  
Reply With Quote #1

no, you just need to learn to script thats all.

Code:
Found an ARMOURY[52]: 18
Found an ARMOURY[53]: 18
Found an ARMOURY[54]: 22
Found an ARMOURY[57]: 22
Found an ARMOURY[58]: 28
Found an ARMOURY[59]: 22
Found an ARMOURY[60]: 28
Found an ARMOURY[61]: 22
Found an ARMOURY[62]: 28
Found an ARMOURY[63]: 22
Found an ARMOURY[64]: 28
Found an ARMOURY[65]: 22
Found an ARMOURY[66]: 28
Found an ARMOURY[67]: 22
Found an ARMOURY[68]: 28
Found an ARMOURY[69]: 28
Found an ARMOURY[70]: 22
Found an ARMOURY[71]: 28
Found an ARMOURY[86]: 28
Found an ARMOURY[87]: 22
Found an ARMOURY[88]: 28
Found an ARMOURY[89]: 28
Found an ARMOURY[90]: 22
Found an ARMOURY[91]: 28
Found an ARMOURY[92]: 22
Found an ARMOURY[93]: 28
Found an ARMOURY[94]: 22
Found an ARMOURY[95]: 28
Found an ARMOURY[96]: 22
Found an ARMOURY[97]: 28
Found an ARMOURY[98]: 22
Found an ARMOURY[99]: 28
Found an ARMOURY[100]: 22
Found an ARMOURY[103]: 22
Found an ARMOURY[104]: 18
Found an ARMOURY[105]: 18
Found an ARMOURY[122]: 18
Found an ARMOURY[123]: 18
Found an ARM
on aim_map using teame06's exact coding.

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <engine> public plugin_init() {     set_task(10.0,"scour_map") }  public scour_map() {     new entindex = find_ent_by_class(entindex,"armoury_entity")     new weapType         while (entindex > 0)     {         weapType = cs_get_armoury_type(entindex)         server_print("Found an ARMOURY[%d]: %d",entindex,weapType)                 entindex = find_ent_by_class(entindex,"armoury_entity")             } }
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
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 16:40.


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