Am pus comanda in dm si respawnul merge,iar cand adaug isplayerinzone sa nu mai folosesca nici o comanda mor si nu ma respawneaza in dm if(!strcmp(cmdtext, "/m4", true))
{
ResetPlayerWeapons(playerid);
IsPlayerInZone[ playerid ] = 1;
SpawnInDM[playerid] = "/m4";
SetPlayerRandomSpawnM4(playerid);
GivePlayerWeapon(playerid,31 , 9999);
SetPlayerFacingAngle(playerid, 0.0);
new tName[MAX_PLAYER_NAME]; GetPlayerName(playerid, tName, sizeof(tName));
format(string, sizeof(string), " ~r~]~g~%s ~y~-> ~b~M4~r~(/m4) ]", tName);
TextDrawDestroy(Text:Reclama);
Reclama = TextDrawCreate(340.000000, 435.000000, " ");
TextDrawFont(Reclama, 2);
TextDrawLetterSize(Reclama, 0.300000, 1.000000); TextDrawBackgroundColor(Reclama, 0xFFFF00FF);
TextDrawColor(Reclama, 0x00C2ECFF);
TextDrawSetOutline(Reclama, 1);
TextDrawSetProportional(Reclama, 1);
TextDrawSetShadow(Reclama, 1);
TextDrawShowForAll(Reclama);
TextDrawSetString(Reclama, string);
SetTimer("reclamatime",10000,false);
SetPlayerInterior(playerid, 0);
GameTextForPlayer(playerid, "~h~~h~~g~] ~r~Welcome ~y~to ~b~M4 ~g~]", 5000, 5);
SendClientMessage(playerid,COLOR_GREEN, "If you want to get out of DM use the command /leave!");
return 1;
}