+RiHn0 Postat Februarie 19, 2016 Raport Postat Februarie 19, 2016 Salut, am si eu nevoie de comanda /somate. Adica, la politisti cand dau /so sau /somate sa le apara textul: [somatie] x, esti urmarit de politie, preda-te!
+DoNuT Postat Februarie 19, 2016 Raport Postat Februarie 19, 2016 /CMD:megaphone(playerid, params[]){ if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You are not logged in."); if(IsPlayerConnected(playerid)) { new vid = GetPlayerVehicleID(playerid),id,name[MAX_PLAYER_NAME],sendername[MAX_PLAYER_NAME],string[200]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pMuted] == 1) { format(string, sizeof(string), "Nu poti tasta, ai primit mute pentru %d secunde!",PlayerInfo[playerid][pMuteTime]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(sscanf(params, "u", id)) return SendClientMessage(playerid, 0xFFFFFFFF, "Tasteaza: /m <ID/Nume jucator>"); if(IsACop(playerid)) { GetPlayerName(id, name, sizeof(name)); if(!IsACopCar(vid)) { SendClientMessage(playerid, COLOR_ERROR, "You are not in a Police Vehicle."); return 1; } if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) { format(string, sizeof(string), "[Officer %s: STOP! %s, trage pe partea dreapta a carosabilului!]", sendername, name); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); } else if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2) { format(string, sizeof(string), "[Agent %s: STOP! %s, trage pe partea dreapta a carosabilului!]", sendername, name); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); } else if(PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3) { format(string, sizeof(string), "[soldier %s: STOP! %s, trage pe partea dreapta a carosabilului!]", sendername, name); ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); } printf("%s", string); } else { SendClientMessage(playerid, 0xFFB870FF, "Nu esti membru PD."); return 1; } } return 1; } CMD:m(playerid, params[]) return cmd_megaphone(playerid, params); Stephen 1
+WahmonOfficial Postat Februarie 23, 2016 Raport Postat Februarie 23, 2016 Nici nu e facuta de tine comanda, este copiata din The GodFather .. Stephen 1
+DoNuT Postat Februarie 24, 2016 Raport Postat Februarie 24, 2016 Esti nab? Nici macar nu am zis ca e copiata dee mine ) doar nu stateam eu sa ii fac lui comanda /somate ) Am luat-o dintr-un gamemode de RPG
Postări Recomandate
Creează un cont sau autentifică-te pentru a adăuga comentariu
Trebuie să fi un membru pentru a putea lăsa un comentariu.
Creează un cont
Înregistrează-te pentru un nou cont în comunitatea noastră. Este simplu!
Înregistrează un nou contAutentificare
Ai deja un cont? Autentifică-te aici.
Autentifică-te acum