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.