Jump to content

zguNNy

Membru
  • Posts

    3
  • Joined

  • Last visited

Everything posted by zguNNy

  1. CMD:asay(playerid, params[]) { new message[128], string[256], sendername[25]; if(playerVariables[playerid][pAdminLevel] >= 1) { if(sscanf(params, "s[128]", message)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"t [message]"); { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "(( %s says: {ff8080}%s {afd9fa}))", sendername, message); SendClientMessageToAll(COLOR_LIGHT, string); } } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; } CMD:cc(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(playerVariables[playerid][pAdminLevel] >= 1) { SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); format(szMessage, 256,"%s has cleared the chat.",GetName(playerid)); submitToHelpersAndAdmins(szMessage, COLOR_HOTORANGE); adminLog(szMessage); } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); } return 1; } CMD:slap(playerid,params[]) { if(playerVariables[playerid][pAdminLevel] >= 1) { new userID; if(sscanf(params, "u", userID)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/slap [playerid]"); if(playerVariables[userID][pStatus] == 0 || !IsPlayerConnected(userID)) return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated."); if(AFK[userID] == 1) return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is sleeping."); if(playerVariables[playerid][pAdminLevel] >= playerVariables[userID][pAdminLevel]) { if(Slap[playerid] == 0) { new string[64], Float: playerHealth, Float: fPos[3]; GetPlayerName(userID, szPlayerName, MAX_PLAYER_NAME); GetPlayerPos(userID, fPos[0], fPos[1], fPos[2]); PlayerPlaySoundEx(1190, fPos[0], fPos[1], fPos[2]); SetPlayerPos(userID, fPos[0], fPos[1], fPos[2]+5); GetPlayerHealth(userID, playerHealth); SetPlayerHealth(userID, playerHealth-5); format(string, sizeof(string), "You have slapped %s.", szPlayerName); SendClientMessage(playerid, COLOR_WHITE, string); Slap[playerid] = 3; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(string, 256,"%s has slaped %s.",name, szPlayerName); submitToHelpersAndAdmins(string, COLOR_LIGHTRED); adminLog(string); } else return SendClientMessage(playerid, COLOR_WHITE, "Please wait 3 seconds!"); } } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; } CMD:mute(playerid, params[]) { new id, seconds,reason[60], string[256],name1[MAX_PLAYER_NAME],name2[MAX_PLAYER_NAME]; if(sscanf(params, "uis[60]", id, seconds,reason)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/mute [playerid] [minutes] [reason]"); { if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1) { if((seconds >= 1) && (seconds <= 60)) { playerVariables[id][pMuted] = seconds * 60; GetPlayerName(playerid, name1, MAX_PLAYER_NAME); GetPlayerName(id, name2, MAX_PLAYER_NAME); format(string, 256,"%s has been muted by %s for %d minutes, reason: %s.",name2, name1, seconds, reason); SCMTA(COLOR_LIGHTRED,string); SCM(id,-1,"You have been muted."); adminLog(string); } else SCM(playerid, -1, "Minutes mut be under 60!"); } else SCM(playerid, -1, AdminOnly); } return 1; } CMD:unmute(playerid, params[]) { new id; if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/unmute [playerid]"); { if(playerVariables[playerid][pAdminLevel] >= 1 || playerVariables[playerid][pHelper] >= 1) { if(playerVariables[id][pMuted] > 0) { playerVariables[id][pMuted] = 0; SCM(playerid,-1,"Player unmuted."); SCM(id,-1,"You have been unmuted."); } else SCM(playerid, -1, "This player isn't muted!"); } else SCM(playerid, -1, AdminOnly); } return 1; }
  2. Salut.Astazi am adaugat cateva comenzi intr-un GM (mute,unmute,cc,slap,asay) si cand ii dau compile imi apare asa: C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "asay" C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "cc" C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "mute" C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "slap" C:\Users\Spirry\Desktop\Dabuleni\gamemodes\w3op.pwn(3252) : warning 203: symbol is never used: "unmute" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Warnings. Precizez ca gamemode-ul are doar 3251 linii Ce e de facut?
  3. Salut, de unde pot descarca MySQL BlueG R33 ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.