Don't force clients to change their settings.
Functions have this form:
PHP Code:
DO_SOMETHING( "THIS STRING" );
DO_SOMETHING( TO_THIS_PLAYER, "THIS STRING" );
IF( SOMETHING )
{
DO;
}
IF( IS_ALIVE( THIS_PLAYER ) )
{
DO;
}
IF( IS_CONNECTED( THIS_PLAYER ) && IS_ALIVE( THIS_PLAYER ) )
{
DO;
}
Here is a list of functions:
http://www.amxmodx.org/funcwiki.php
PHP Code:
register_event("ResetHUD", "event_spawn", "b")
}
public event_spawn(id){
//<snip>
engclient_cmd( id, "jointeam", "1" );
client_cmd( id, "jointeam 1" );
}
__________________