if(strcmp(cmdtext, "/block", true)==0) { if (gTeam[playerid] != 2) return SendClientMessage(playerid, COLOR_GRAD2," You're not a cop!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); roadblock = CreateObject(981, X, Y, Z, 0.0, 0.0, A); RoadBlock[playerid] += 1; SendClientMessage(playerid, COLOR_GRAD2, "RoadBlock Successfully Deployed"); return 1; } +++++++++++ if(strcmp(cmdtext, "/unblock", true)==0) { if (gTeam[playerid] != 2) return SendClientMessage(playerid, COLOR_GRAD2," You're not a cop!"); if (RoadBlock[playerid] == 0) return SendClientMessage(playerid, COLOR_GRAD2," You didn't add a roadblock!"); DestroyObject(roadblock); RoadBlock[playerid] -= 1; SendClientMessage(playerid, COLOR_GRAD2, "RoadBlock Successfully Removed"); return 1; }