12.11.2013, 20:44
(
Последний раз редактировалось Ananisiki; 15.12.2013 в 19:18.
)
^^^^^^^^
CMD:tp(playerid, params[])
{
if(Frozen[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command when frozen"); // this didn't work so I tried with
return 1;
}
Frozen[pID] == 1;
CMD:command(playerid, params[])
{
if(Frozen[playerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "You Cant use this command while Frozed");
// Rest of command here
return 1;
}
CMD:gtfo(playerid,params[])
{
if(Frozen[playerid] == 1)
{
SendClientMessage(playerid,-1,"You cannot use this command while frozen");
}
else
{
// YOUR COMMAND HERE
}