You mean:
OnplayerCommandText:
[pawn] else if (strcmp(cmd, "freeze", true) == 0) {
new szMsg[256], plr;
else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Jugador Desconocido");
SetTimer("freezel",130000,plr);[/pawn]
Functions near script button:
[pawn]public freeze(plr)
{
TogglePlayerControllable(plr,1);
}
public freeze2(plr)
{
TogglePlayerControllable(plr,1);
}[/pawn]
Its only an example... This isnt TESTED.
Hope it help you.