Jump to content

TheSheriff

Premium
  • Posts

    15
  • Joined

  • Last visited

2 Followers

About TheSheriff

  • Birthday 04/03/1993

Contact Methods

  • Nick SA:MP Blue
    Nu joc.

Profile Information

  • Gender
    Male
  • Location
    Din comuna Rast, judetul Dolj.
  • Interests
    to make some noiseeeeeeeeeeeeeeeeeeeee!

Recent Profile Visitors

462 profile views

TheSheriff's Achievements

Noob

Noob (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Buna ziua. Ce faceti?

    1. CristianTM

      CristianTM

      Salut Jon. Ce faci tu aici?

    2. TheSheriff
  2. pai da, comanda te scoate dupa /spec, dar primesc respawn, nu vreau ca sa primesc respawn cand dau /specoff, ci sa mi se salveze locatia care era cand am dat /spec.
  3. faza cu spamul la /report l-am rezolvat, mai ramane ce-l cu /specoff, daca ma puteti ajuta v-as ramane recunoscator.
  4. pune-o si tu in [ code ] [ /code] *fara spatiu , asa nu intelegem nimic.
  5. Salut, am si eu 2 probleme pe care nu imi pot da seama cum le pot rezolva. 1.problema cu /specoff merge sa dau /spec, dar cand dau /specoff ma scoate dupa spec si imi da respawn. CMD:spec(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { new id,giveplayer[25],string[100]; if(sscanf(params, "u", id)) return SCM(playerid,COLOR_WHITE,"{B8DBFF}Synthax: /spec <Name/Playerid>"); { if(IsPlayerConnected(id)) { if(id != INVALID_PLAYER_ID) { Spectate[playerid] = id; new Float:health; GetPlayerHealthEx(Spectate[playerid], health); GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer)); new cash = GetPlayerCash(Spectate[playerid]); format(string, sizeof(string), "Watch: (%d) %s $%s Heal:%.0f",Spectate[playerid],giveplayer,FormatNumber(cash),health); SendClientMessage(playerid, COLOR_GREEN, string); TogglePlayerSpectating(playerid, 1); if(IsPlayerInAnyVehicle(Spectate[playerid])) { new carid = GetPlayerVehicleID(Spectate[playerid]); PlayerSpectateVehicle(playerid, carid); } else { PlayerSpectatePlayer(playerid, Spectate[playerid]); } } } else { SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected."); } } } else { SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; } } return 1; } CMD:specoff(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(Spectate[playerid] < 253 && Spectate[playerid] != 255) { TogglePlayerControllable(playerid, 1); TogglePlayerSpectating(playerid, 0); SetPlayerInterior(playerid,Unspec[playerid][sPint]); PlayerInfo[playerid][pInt] = Unspec[playerid][sPint]; PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal]; Unspec[playerid][sLocal] = 255; gTeam[playerid] = PlayerInfo[playerid][pTeam]; SetPlayerToTeamColor(playerid); SendClientMessage(playerid, COLOR_GREEN, "You stopped watching a player."); TextDrawHideForPlayer(playerid, TextDrawSpec[playerid][1]); TextDrawHideForPlayer(playerid, TextDrawSpec[playerid][2]); TextDrawHideForPlayer(playerid, TextDrawSpec[playerid][3]); TextDrawHideForPlayer(playerid, TextDrawSpec[playerid][4]); TextDrawHideForPlayer(playerid, TextDrawSpec[playerid][5]); SpawnPlayer(playerid); Spectate[playerid] = 255; return 1; } } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); } return 1; } 2.Problema spam /report la gm-ul meu se poate da /report unul dupa altul, fara ca sa existe un timp anume, am incercat o gramada de modalitati dar nu reusesc. CMD:report(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1) return SCM(playerid,0xFFFFFFFF, "{FFB870}Error: Esti admin."); new sendername[MAX_PLAYER_NAME],string[300],helptext[250]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(sscanf(params, "s[250]",helptext)) return SCM(playerid,COLOR_WHITE,"{B8DBFF}Syntax: /report <Message>"); format(string, sizeof(string), "Report from %s (%d): %s.(/accept al %d)", sendername,playerid,helptext,playerid); ABroadCast(COLOR_LIGHTRED,string,1); reportsend[playerid] = 1; if(rTime[playerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, "{C90000}Info: {FFFFFF}Poti trimite un report o data la un minut."); format(string, sizeof(string), "{006699}Report{ffffff}-ul tau a fost trimis catre {006699}admini{ffffff}: ''%s'' .",helptext); SendClientMessage(playerid,COLOR_WHITE,string); SetPVarString(playerid, "Report", helptext); } return 1; }
  6. Vreau sa bag si eu un sistem de rob pe server, imi puteti da un include la sistemul de rob, adica eu sa il bag direct in GM. Sa nu fie sql.
  7. ma poate ajuta altcineva? tot nu merge ceea ce mi-a facut arazel
  8. http://forum.bugged.ro/topic/128974-ajutorcnn-spam/ raman dator daca ma ajuti, chiar nu imi dau seama ce trebuie sa adaug ca sa am timp la /ad si sa numai dau unul dupa altul.
  9. Da, doar aia este comanda, si ca player normal tot asa face spam la CNN. uite si poza http://postimg.org/image/t8ukrxlrb/b1817c91/
  10. la CNN, cand ma duc, pot da anunturi unul dupa altul fara ca sa existe un timp anume, adica dau acum un anunt si dupa sa mai pot da altul peste 30 de secunde macar, dar aici dau unul dupa altul si nu exista timp. comanda. if(strcmp(cmd, "/adls", true) == 0 || strcmp(cmd, "/adls", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GRAD1, "*You are not {B22222}Logat !"); return 1; } if(PlayerInfo[playerid][pPnumber] == 0) { SendClientMessage(playerid, COLOR_GREY, "You dont have Phone!"); return 1; } if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_LIGHTRED2, "* You not have Level 3!"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You have Mute, and cannot use /ad!"); return 1; } if(!PlayerToPoint(3.0, playerid, 844.6591,-1045.4973,25.4305)) { SendClientMessage(playerid, COLOR_GRAD2, "You are not on CNN LS!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[150]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_CMD, "[INFO] {FFFFFF} (/ad)vertise [Advert]"); return 1; } spaceGroupsToSpaces(result); trimSideSpaces(result); new word[256],Index;while(Index < strlen(result)) { // check posts on advertising servers and cutting word = strtok(result,Index); if(Adv(word)==1||ZP(word)||U(word)||T(word)||N(word)||PP(word)||P(word)||V(word)||R(word)||PL(word)||ZV(word)||I(word)||ST(word)||PR(word)||DL(word)||RE(word)||VOC(word)||A(word)||NO(word)||TCZ(word)||BOP(word)){ new i=strfind(result,word),j=i+strlen(word)-1; result[i++]='['; while(i<j) {result[i]='|';i++;} result[j]=']'; BanEx(playerid, " Reclama la alt server"); } } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You have Mute."); return 1; } if ((!adds) && (PlayerInfo[playerid][pAdmin] < 1)) { format(string, sizeof(string), " Mai sunt %d pana cand poti sa dai /ad", (addtimer/1000)); SendClientMessage(playerid, COLOR_GRAD2, string); return 1; } new payout = idx * 25; if(GetPlayerMoney(playerid) < payout) { format(string, sizeof(string), "* For %d caracters, you payoff $%d. Ad have been posted.", offset, payout); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } GivePlayerMoney(playerid, - payout); SBizzInfo[7][sbTill] += payout*3; ExtortionSBiz(7, payout); format(string, sizeof(string), "{00BF00}Advert placed by:{fff000} %s, {00BF00}Phone:{FFFFFF} %d :{00BF00} %s", sendername,PlayerInfo[playerid][pPnumber],result); OOCNews(TEAM_GROVE_COLOR,string); format(string, sizeof(string), "(AdmInf):Player: %s (ID:%d) :- (Added this Advert)",sendername,playerid); ABroadCast(COLOR_LIGHTRED,string,1); format(string, sizeof(string), "-Money: $%d. caracters: %d.", payout, idx); SendClientMessage(playerid, COLOR_GRAD1, string); if (PlayerInfo[playerid][pAdmin] < 1){SetTimer("AddsOn", addtimer, 3000); adds = 1000;} } return 1; }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.

moduri samp