By the way. I always wanted to ask, but im shy couse its very noooobish... what means and what does that thing when writing
PHP Code:
public kasnors(id) {
new view[33]
new msg[51]
//codes...
//and etc....
}
I understand that is some constants.... Witch are using somewhere
and when using
PHP Code:
return PLUGIN_HANDLED
return PLUGIN_CONTINUE
sry for that questions.... But it bothered me a long time...
By the way, is that usage correct?
PHP Code:
public hook_AddToFullPack_post( es_handle,e,ent,host,hostflags,player,pSet ) {
if( !player ) return FMRES_IGNORED
if( host == alien[32] && ent == human[32] ) {
set_user_rendering(player, kRenderFxGlowShell, 0, 80, 255, kRenderTransAlpha, 200)
}
if( host == alien[32] && ent == predator[32] ) {
set_user_rendering(player, kRenderFxGlowShell, 0, 255, 0, kRenderTransAlpha, 200)
}
if( host == alien[32] && ent == alien[32] ) {
set_user_rendering(player, kRenderFxGlowShell, 255, 0, 0, kRenderTransAlpha, 200)
}
return FMRES_IGNORED
}