Well... maybe thats above my ability level but its very anyoning and one of my friends also wants to know.
PHP Code:
if (weaponfired){
setshootparams PARAMEQUALS;
//...
}
if (actionprojectile) {
if(strequals(#p(index),PARAMEQUALS)) {
hurt 2;
freezeplayer 5;
}
}
OK like you see the player gets hurt and freezed if the bullet hits.
Just it does that ALL THE TIME he gets hit by ANY weapon.
Is there another script as if(strequals(#p(index),PARAMEQUALS)) or maybe to check wich gani(bullet) exactly was shot?
Because this is REALLY anyoning if I want lots of diffrent weapons with other power/effect on player.