public OnPlayerCommandText( playerid, cmdtext[ ] ) {
if( !strcmp( cmdtext, \"/sf\", true ) ) {
SetPlayerPos( playerid, x, y, z );
TogglePlayerControllable( playerid, false );
SetTimerEx( \"Unfreeze\", 6000 * 5, false, \"d\", playerid );
return 1;
}
return 0;
}
public Unfreeze( playerid );
public Unfreeze( playerid ) {
TogglePlayerControllable( playerid, true );
}