//FireWorks if (strcmp(cmdtext, "/fire", true)==0) { if(FireLock[playerid] == 0) { SendClientMessage(playerid, COLOR_YELLOW, "FireWork Was Succful Shooted"); GameTextForPlayer(playerid,"~r~FireWork ~y~Was ~g~Succful Shooted",2500,5); new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); MoveObject(Fire, X,Y,Z+50.00,7.0); SetTimer("FireS", 4000,0); FireLock[playerid] = 1; SetTimerEx("FireUnlock", 120000, 0, "i", playerid); } else if(FireLock[playerid] == 1) SendClientMessage(playerid, COLOR_RED, "Omg U Can ONLY Shoot FireWorks every 2MIN!"); { return 1; } } //LoadFire if (strcmp(cmdtext, "/load", true)==0) { if(LoadLock[playerid] == 0) { SendClientMessage(playerid, COLOR_YELLOW, "FireWork Was Succful Placed"); GameTextForPlayer(playerid,"~r~FireWork ~y~Was ~g~Succful Placed",2500,5); new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid, X, Y, Z); Fire = CreateObject(3786, X,Y,Z +50.00,0,0,0); LoadLock[playerid] = 1; SetTimerEx("LoadUnlock", 120000, 0, "i", playerid); } else if(LoadLock[playerid] == 1) SendClientMessage(playerid, COLOR_RED, "Omg U Can ONLY Load FireWorks every 2MIN!"); { return 1; } }