05.04.2014, 23:48
Why Im Teleporting To Deathmatch area with Cars And i can get cars why i wanna desable these cmds while in DM
new indmarea[MAX_PLAYERS];
indmarea[playerid] = 0;
indmarea[playerid] = 1;
if(indmarea[playerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, You're in a DM area, you cant use this command.);
new indmarea[MAX_PLAYERS];
indmarea[playerid] = 0;
CMD:kill(playerid,params[])
{
if(indmarea[playerid] == 1) SendClientMessage(playerid, COLOR_WHITE, You're in a DM area, you cant use this command.);
{
SetPlayerHealth(playerid, 0);
indmarea[playerid] = 1;
}
}
if(indmarea[playerid] == 1) { yourstuff indmarea[playerid] = 1; } SendClientMessage(playerid, COLOR_WHITE, You're in a DM area, you cannot spawn vehicles);