For hit and remove weps... u were close change this
for:Code:if( closer( self getTagOrigin( "j_" ), player getTagOrigin( "j_" ) ) )
NOTE: This will target the head... didn't knew much about body, heard about j_spine but dont know if it works...Code:if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ) ) )
Notice the red part is missing in your code...
Now for this:
[php]
gametype()
{
self endon("disconnect");
if(self isHost())
{
if ( level.gametype != "dm" )
{
self thread changeSettings();
}
}
}
changeSettings()
{
self iPrintlnBold("^1Warning ^7- Gametype is not set to FFA!");
wait 2;
self iPrintlnBold("Would you like to change gametype now?");
wait 2;
self iPrintlnBold("Press [{+actionslot 1}] to change it now");
self notifyonplayercommand("N", "+actionslot 1");
for(;
{
self waittill("N");
{
setDvar("g_gametype", "dm");
wait 2;
self setClientDvar("fast_restart");
}
}
}[/php]
Try instead of:
this:Code:self setClientDvar("fast_restart");
is not a fast_restart but could work as it... hope i helped on something or shed light on uCode:self setClientDvar("map_restart");