24.10.2013, 09:07
pawn Код:
CMD:teleon(playerid,params[])
{
if(tele[playerid]==1)
return SendClientMessage(playerid, red, "You've already enabled tele command.Use /teleoff");
tele[playerid]=1;
SendClientMessage(playerid, 0xFF0000, "You've enabled tele command.Note that others can teleport to you.");
return 1;
}
CMD:teleoff(playerid,params[])
{
if(tele[playerid]==0)
return SendClientMessage(playerid, red, "Your tele command is already OFF.Use /teleon to enable.");
tele[playerid]=0;
SendClientMessage(playerid, red, "Your tele command has been turned off.");
return 1;
}
-Help Rep rep REP+++