Raised This Month: $ Target: $400
 0% 

Fatal Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
The Specialist
BANNED
Join Date: Nov 2006
Old 12-25-2006 , 00:18   Re: Fatal Error
Reply With Quote #5

Are you talking about the check all weapon function I did ? With the | . I was looking for a more efficiiant way to do that . I can use a switch with that many choices on one case ?

Ok what about the fatal error "NO FREE EDICTS" . Any ideas ?

EDIT: why wont this work ?
Code:
stock drop_primary_weapon(id) {  new clip,bpammo;  new Weapon = get_user_weapon(id,clip,bpammo);    switch(Weapon)  {   case  CSW_SCOUT,CSW_XM1014,CSW_MAC10,CSW_AUG,CSW_UMP45,CSW_SG550,CSW_GALIL,CSW_FAMAS,CSW_AWP,   CSW_MP5NAVY,CSW_M249,CSW_M3,CSW_M4A1,CSW_TMP,CSW_G3SG1,CSW_SG552,CSW_AK47,   CSW_P90:  client_cmd(id,"+drop") return true;   default: return false;  } }

Last edited by The Specialist; 12-25-2006 at 00:38.
The Specialist is offline
Send a message via AIM to The Specialist
 



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 22:22.


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