Raised This Month: $ Target: $400
 0% 

Flagging an entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 04-24-2013 , 14:07   Flagging an entity
Reply With Quote #1

I try to set some values according to my entites:

PHP Code:
new iEntType[33]

// getting [Run time error 4: index out of bounds] if I set values to it
//to set:

iEntType[iEnt] = 1

//or:

iEntType[iEnt] = 2

// and to check:

switch(iEntSoundType[iEnt])
{
       case 
1:
       {
       }
       case 
2:
       {
       }

Would this only work with pev_iuser 1, 2, 3 or 4?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
 



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 10:54.


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