Jump to content

shaun

Membru
  • Posts

    608
  • Joined

  • Last visited

Everything posted by shaun

  1. eu nu copiez niciodata,la niciun test,la nimik!niciun stil! is tot timpul unic adika original.....sau marog incerc.... MS ALL!!!! :X:X:X:X
  2. nu ioti fac fati singur eu doar am facut fsul!!!
  3. shaun

    text x2

    gata DATI TC , REZOLVAT!!!
  4. shaun

    text x2

    sall all...mai ales tie zh3r0 ca vad ca esti primul tot timpul cand scriu in chat scrie si stringu din gm si ala din luxadmin adika scrie si CookieMonster:[iD:]:TEXTU MEU BLABLABLA DAR SI CookieMonster:sal deci apare cam asa: CookieMonster:[iD:0]:COLORAT""""TEXT CookieMonster:sal 2x ce zic yo... onplayertext de la luxadmin: public OnPlayerText(playerid, text[]) { //============================================================================== // Vip Chat //============================================================================== if(text[0] == '*' && AccInfo[playerid][pVip] >= 1) { new string[128]; GetPlayerName(playerid,string,sizeof(string)); format(string,sizeof(string),"|ChatVip| %s: %s",string,text[1]); MessageToPlayerVIP(0xDC686BAA,string); SaveIn("ChatVipLog",string); return 1; } //============================================================================== // Administration Chat //============================================================================== if(text[0] == '#' && AccInfo[playerid][Level] >= 1) { new string[128]; GetPlayerName(playerid,string,sizeof(string)); format(string,sizeof(string),"Admin Chat: %s: %s",string,text[1]); MessageToAdmins(green,string); #if ADM_CHAT_LOG == true SaveIn("AdmChatLog",string); #endif return 1; } //============================================================================== // Chat Disabled //============================================================================== if(ServerInfo[DisableChat] == 1) { SendClientMessage(playerid,red,"|- Chat has been Disabled! -|"); return 1; } //============================================================================== // Player Muted //============================================================================== if(AccInfo[playerid][Muted] == 1) { AccInfo[playerid][MuteWarnings]++; new string[128]; if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings]) { format(string, sizeof(string),"|- ATTENTION: You are Muted! Cannot talk (Warnings: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]); SendClientMessage(playerid,red,string); } else { SendClientMessage(playerid,red,"|- You have been Automatically Kicked. | Reason: Exceeding Mute Warnings -|"); format(string, sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Exceeding Mute Warnings -|",PlayerName2(playerid),playerid); SendClientMessageToAll(grey,string); SaveIn("KickLog",string); Kick(playerid); } return 1; } //============================================================================== // Flood/Spam Protection //============================================================================== if(ServerInfo[AntiSpam] == 1 && (AccInfo[playerid][Level] == 0 && !IsPlayerAdmin(playerid))) { if(AccInfo[playerid][SpamCount] == 0) AccInfo[playerid][SpamTime] = TimeStamp(); AccInfo[playerid][SpamCount]++; if(TimeStamp() - AccInfo[playerid][SpamTime] > SPAM_TIMELIMIT) { // Its OK your messages were far enough apart AccInfo[playerid][SpamCount] = 0; AccInfo[playerid][SpamTime] = TimeStamp(); } else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS) { new string[64]; format(string,sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Flood/Spam Protection", PlayerName2(playerid),playerid); SendClientMessageToAll(grey,string); print(string); SaveIn("KickLog",string); Kick(playerid); } else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS-1) { SendClientMessage(playerid,red,"ATTENTION: Anti Spam Warning! Next is a Kick!"); return 1; } } //============================================================================== // Send Admin in front of name //============================================================================== #if ADM_InMSG == true if (AccInfo[playerid][Hide] == 0) { if(AccInfo[playerid][Level] > 0) { new str3[256]; format(str3, 256, "(Admin): %s", text); for(new gz=0;gz<200;gz++) if(IsPlayerConnected(gz)) SendPlayerMessageToPlayer(gz, playerid, str3); else SendPlayerMessageToPlayer(gz, playerid, text); } return 1; } #endif //============================================================================== // Forbidden Words //============================================================================== if(ServerInfo[AntiSwear] == 1 && AccInfo[playerid][Level] < ServerInfo[MaxAdminLevel]) for(new s = 0; s < BadWordsCount; s++) { new pos; while((pos = strfind(text,BadWords[s],true)) != -1) for(new i = pos, j = pos + strlen(BadWords[s]); i < j; i++) text[i] = '*'; } //============================================================================== // Anti Advertisements //============================================================================== if(ServerInfo[AntiAds] == 1) { if(AdvertisementCheck(text) && AccInfo[playerid][Level] < 3) { AccInfo[playerid][MaxAdv]++; new string[128]; format(string,sizeof(string),"|- Warning! Suspected ads in your message! (Warnings: %d/%d)",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS); SendClientMessage(playerid, grey,string); if(AccInfo[playerid][MaxAdv] == MAX_ADV_WARNINGS) { format(string,sizeof(string),"|- You is Automatically Kicked. | Reason: Many ads in your Messages (%d/%d) -|",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS); SendClientMessage(playerid, lightred,string); format(string,sizeof(string),"|- Player %s (Id:%d) has beenAutomatically Kicked. | Reason: Many Advertisements! (%d) -|",PlayerName2(playerid),playerid, MAX_ADV_WARNINGS); SaveIn("KickLog",string); Kick(playerid); SendClientMessageToAll(lightred, string); print(string); } return 1; } } //============================================================================== // Block CapsLock //============================================================================== if(AccInfo[playerid][Caps] == 1) UpperToLower(text); if(ServerInfo[NoCaps] == 1) UpperToLower(text); //============================================================================== // Chat Lines (Console) //============================================================================== for(new i = 1; i < MAX_CHAT_LINES-1; i++) Chat[i] = Chat[i+1]; new ChatSTR[128]; GetPlayerName(playerid,ChatSTR,sizeof(ChatSTR)); format(ChatSTR,128,"[CHAT]%s: %s",ChatSTR, text[0]); Chat[MAX_CHAT_LINES-1] = ChatSTR; return 1; } //============================================================================== //------------------------------------------------- // Private Message (PM) //------------------------------------------------- //============================================================================== public OnPlayerPrivmsg(playerid, recieverid, text[]) { if(ServerInfo[ReadPMs] == 1 && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel]) { //============================================================================== // Send PM //============================================================================== new string[128]; new pReciever[MAX_PLAYER_NAME]; GetPlayerName(playerid, string, sizeof(string)); GetPlayerName(recieverid, pReciever, sizeof(pReciever)); format(string, sizeof(string), "|- PM: %s To %s: %s", string, pReciever, text); for (new a = 0; a < MAX_PLAYERS; a++) if(IsPlayerConnected(a) && (AccInfo[a][Level] >= ServerInfo[MaxAdminLevel]) && a != playerid) SendClientMessage(a, grey, string); #if PM_CHAT_LOG == true SaveIn("AdmChatLog",string); #endif } //============================================================================== // Muted //============================================================================== if(AccInfo[playerid][Muted] == 1) { new string[128]; AccInfo[playerid][MuteWarnings]++; if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings]) { format(string, sizeof(string),"|- ATTENTION: You are Muted! Cannot talk (Warnings: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]); SendClientMessage(playerid,red,string); } else { SendClientMessage(playerid,red,"|- You have been Automatically Kicked. | Reason: Exceeding Mute Warnings -|"); GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string),"|- Player %s (Id:%d) has been Automatically Kicked. | Reason: Exceeding Mute Warnings -|", string, playerid); SendClientMessageToAll(lightred,string); SaveIn("KickLog",string); Kick(playerid); } return 1; } #if EnablePM_Cmd == true new string[128]; format(string,256,"|- PM: Message to '%s(%d)': \"%s\" -|",PmReceiver,PMplayer1,text); SendClientMessage(playerid,0x00A765AA,string); PlayerPlaySound(playerid,1057,0.0,0.0,0.0); GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string),"|- PM: Message from: %s: \"%s\" -|",string,text); SendClientMessage(recieverid,0x00A765AA,string); #endif return 1; } de la gm meu: public OnPlayerText(playerid, text[]) { new stringOPT[128]; format(stringOPT,128,"{E01BBC}[Id:%d] {E3C254} %s",playerid,ColouredText(text)); SendPlayerMessageToAll( playerid, stringOPT ); SetPlayerChatBubble(playerid, text, COLOR_GREEN, 100.0, 10000); return 1; } HELP MEH!
  5. sall all...as vrea sa stiu urmatorul lucru: cum pot ca atunci cand un player se connecteaza,doar peste vreo 10 minute sa poata accesa o comanda else SendClientMessage(playerid,-1,"Trebuie sa astepti 10 minute WAI!!"); asta sa se intample la else VA ROG! MS :shocked:
  6. esti diliu??????DANE LINIILE!!!!!!!!!!!!!
  7. shaun

    comenzi

    wow esti un geniu :| pun pariu ca tu faci laba uitandute la scripting,nu ca jicnire,GENIULE! BV 10 MS MULT :X
  8. shaun

    comenzi

    strcmp
  9. shaun

    comenzi

    dar tre sa fie alta cale :| TREBUIE SI Zh3r0 si stuntman sigur stiu.... APP am 345 de comenzi!
  10. shaun

    comenzi

    pai asta e faza ca la cate comenzi am.....
  11. shaun

    comenzi

    cum fac ca atunci cand un player da o comanda ... sa nu poata accesa alte comenzi...sa il faca inapt la comenzi... doar anumite comenzi ca am un script cu football....si nu vreau sa acceseze decat o singura comanda
  12. 5/10
  13. cum fac sami apara alea?ca vrau datele alea!
  14. ba pot dar nah vroiam sa vad ce are ala in cap..m-a enervat ca nare MINTE!!! rp, no-rp cum dracu sa nai arme asta i rostu la GTA!!!FU*K RP!!!
  15. ce minigun ma da fara tec9 fara asta...si daca gaseste un pickup cu tec 9 ia ban :| sau daca dai /giveweapon...e o prostie ! trebuia doar trown si machine guns sa interzici nu toate armele frate!
  16. am audio streamer am tot cemi trb cand dau .play 1 0 0 0 mi se aude dar cand da altul nu i se aude ( am sistem linux...la plugin s am scirs audio.so care intra la mine cu team viewer sa maa ajut sau sami dea un sfat va roooog?
  17. shaun

    lspec

    yo vreau numa ca atunci cand apas pe latest 4 download imi da un server de vice city....
  18. shaun

    lspec

    am o problema la lspec ((( cand dau /lspec [id] se inchide serveru (( HELP MEEEEEEEE ete comanda: dcmd_lspec(playerid,params[]) { if(AccInfo[playerid][Level] >= 10 || IsPlayerAdmin(playerid)) { if(AccInfo[playerid][pGps] != -1) return SendClientMessage(playerid, red, "ERROR: First Disable the Gps System! (/gps off)"); if(!strlen(params) || !IsNumeric(params)) return SendClientMessage(playerid, LIGHTBLUE2, "Usage: /lspec [PlayerID]") && SendClientMessage(playerid, orange, "Function: Will spec a specified Player"); new specplayerid = ReturnUser(params); if(AccInfo[specplayerid][Level] == ServerInfo[MaxAdminLevel] && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel]) return SendClientMessage(playerid,red,"ERROR: You cannot use this command on this admin"); if(IsPlayerConnected(specplayerid) && specplayerid != INVALID_PLAYER_ID) { if(specplayerid == playerid) return SendClientMessage(playerid, red, "ERROR: You cannot spectate Yourself"); if(GetPlayerState(specplayerid) == PLAYER_STATE_SPECTATING && AccInfo[specplayerid][SpecID] != INVALID_PLAYER_ID) return SendClientMessage(playerid, red, "ERROR: Player spectating someone else"); if(GetPlayerState(specplayerid) != 1 && GetPlayerState(specplayerid) != 2 && GetPlayerState(specplayerid) != 3) return SendClientMessage(playerid, red, "ERROR: Player not Spawned"); if((AccInfo[specplayerid][Level] != ServerInfo[MaxAdminLevel]) || (AccInfo[specplayerid][Level] == ServerInfo[MaxAdminLevel] && AccInfo[playerid][Level] == ServerInfo[MaxAdminLevel])) { GetPlayerPos(playerid,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]); GetPlayerFacingAngle(playerid,Pos[playerid][3]); SendCommandToAdmins(playerid,"LSpec"); SendClientMessage(playerid,blue,"|- Spectating On -|"); return StartSpectate(playerid, specplayerid); } else return SendClientMessage(playerid,red,"ERROR: You cannot spectate the highest level admin"); } else return ErrorMessages(playerid, 2); } else return ErrorMessages(playerid, 7); }
  19. posteaza linia
  20. datimi si mie [respect] va roog (
  21. nu de alta dar crede-ma p servere is prea multe TEHNIC FS...pe server trebuie sa te si distrezi nu numai sa faci ceva pe el,de ex ceva care sa cconstruiasca sau altceva...pe servere trebuie sa te si distrezi! pentru asta am facut fsul!!!
  22. Salut all :grin:. Am facut un script pentru iubitorii de Wrestling. Timp de lucru: 30 minute. Cand ti-a venit ideea: Cand eram pe W.C. Cum ti-a venit ideea:Cu greu. In acest fs aveti detaliile a cativa luptatori din wrestling. Gameplay: [img width=500 height=375]http://img545.imageshack.us/img545/3408/samp001tr.png [img width=500 height=375]http://img14.imageshack.us/img14/9374/samp002fd.png Cand esti in joc dai /wwedetails si iti apare un meniu cu wrestleri,alegi wrestlerul si iti va da urmatoarele detalii: Debutul Varsta Nume adevarat Finisher(manvra de final) Pasii de instalare: 1.Dezarhiveaza Arhiva undeva , de preferat pe Desktop. 2.Ia fisierele WrestlerDetails.pwn si WrestlerDetails.amx si du-le in folderul FilterScripts din serverul tau. 3.Du-te in server.cfg si la linia Filterscripts adauga cuvantul WrestlersDetails. 4.In joc,apasa /wwedetails si alege wrestlerul. 5.Acolo iti va arata: anul de debut,varsta,numele real si finisherul adika manevra de final al acestuia. Download link: http://solidfiles.com/d/49c6/ Daca v-a placut dati-mi respect points adika dati pe RESPECT sub avatarul meu . astept pareri...
  23. shaun

    timer scor

    totu e perfect numa ca mai trbuia sa pui o paranteza dupa ifisplayerconncted(i)) MS FT MULT!si eu mam gandit la asta dar credeam ca e vreo metoda mai usoara:|
  24. shaun

    Create Objects

    deci aici iti trebuie creier,el a explicat calumea FarSe dar iti dau un sfat : lasat naibii de scripting ce nu intelegi? nu stii c e ala streamer? nu jtii ce e fs? si mai si intrebi pe mess cum sa pui un obiect COPAC :| LOL deci iati un dinasta care sa te invete ca esti praf.....
  25. shaun

    Erori server

    D:\Documents and Settings\kenzor\Desktop\pawno\include\cps.inc(139) : warning 208: function with tag result used before definition, forcing reparse D:\Documents and Settings\kenzor\Desktop\pawno\include\dutils.inc(21) : error 074: #define pattern must start with an alphabetic character errorile is de la include :|
×
×
  • 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.