Jump to content

CokeJR.

Membru
  • Posts

    182
  • Joined

  • Last visited

    Never

Everything posted by CokeJR.

  1. Salut baieti,stie cineva cum pot scoate melodia care canta in timpul tutorialului :-?? Si inca o problema : mi-se incarca foarte greu sistemul de inregistrare/logare hostul este foarte bun nu are lag.. :|
  2. Pei te uiti cum sunt create celelalte joburi :-??nu stiu inca un tutorial :| ma interesez si postez aici daca gasesc
  3. Posteaza-mi eroarea care ti-o da .
  4. Tu folosesti pawno din server? sau ai pawno loat de-pe google ? :)
  5. Ai mai postat inca un topic la fel,un admin delete this topic!
  6. Ia incearca-l pe asta : if(strcmp(cmd, "/adminduty", true) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1) { if(JustAD[playerid] == 1) { SendClientMessage(playerid, COLOR_GREY, "*** Asteapta 6 minute pentru a putea folosi aceasta comanda! {55D4FF}/adminduty"); return 1; } if(AdminDuty[playerid] == 1) { JustAD[playerid] = 1; SetTimerEx("ReportAD", 300000, false, "i", playerid); GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "[Admin Info] %s [ID:%d] is no longer on duty as an admin.", sendername,playerid); SendClientMessageToAll(COLOR_ADMINDUTY,string); SetPlayerToTeamColor(playerid); AdminDuty[playerid] = 0; SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,0); } else { GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "[Admin Info] %s [ID:%d] is now on duty as an admin.Please /w him if you need help.", sendername,playerid); SendClientMessageToAll(COLOR_ADMINDUTY,string); AdminDuty[playerid] = 1; SetPlayerColor(playerid,COLOR_ADMINDUTY); SetPlayerHealth(playerid,99999); SetPlayerArmour(playerid,99999); } } else { SendClientMessage(playerid, COLOR_GREY, "{55D4FF}EROARE:{FF0000} You are not authorized to use that command"); } return 1; }
  7. Degeaba,iti faci server prin router am avut si eu si-se misca ca ... :-j daca treci de 25 playeri se face un lag infernal
  8. Posteaza aici http://www.sa-mp.ro/forum/index.php/board,87.0.html Ps:Pune server_log aici sa vedem poate apare acolo problema.
  9. Instaleaza noul client 0.3d daca nu reusesti da-mi un pm cu id-ul tau si te rezolv :)
  10. CokeJR.

    Problema

    fa-i un port forwarding cauta la tutoriale.
  11. citeste aici http://www.sa-mp.ro/forum/index.php/topic,18741.0.html
  12. CokeJR.

    Faction Car

    Folositor tutorialul,bravo.
  13. . M-am dus la banca si am vazut k e in proprietatea cuiva(si mai multe lucruri au proprietari). *As vrea sa stiu cum pot sa fac sa nu mai aiba proprietar! Te duci pe proprietatea respectiva dai /edit [level,price] exemplu /edit level 1 si mai un sus iti va aparea id-ul la biz,sau casa depinde ce vrei sa vinzi si dai /asellbiz si id sau /asellsbiz id la case dai /asellhouse id.! Checkpointurile de la case nu imi apar pe harta. *Ce sa fac sa apara. Nustiu exact schimba streamerul. .Si inca cv. Am editat niste cuvinte si numele la sv din gamemod si apoi am dat complie si mia dat urmatoarea eroare: Linia 15 arata asa in gamemode #include <utils> adauga in pawno/include utils.inc descarca-l de aici : http://search.4shared.com/postDownload/iBdgFSKf/utils.html
  14. Gata am rezolvat,multumesc foarte mult :* puteti da t/c!
  15. CokeJR.

    AudioStream

    Un mic tutorial creat de mine. Pentru a adauga o melodie cand va conectati pe server procedam in felul urmator: Mergem la OnPlayerConnect Si adaugam PlayAudioStreamForPlayer(playerid, "Link-ul nostru catre melodie"); Exemplu PlayAudioStreamForPlayer(playerid, "http://gta-cp.info/sounds/Godfather.mp3"); Iar daca doriti sa-se opreasca melodia dupa spawn procedam asa : Mergem la OnPlayerSpawn Si adaugam StopAudioStreamForPlayer(playerid); Stiu ca este destul de simplu dar sunt incepator
  16. Merge Multumesc frumos :* ,mai am o mica problema cand trebuie sa bag parola mai incepe sa cante inca o melodie cum o pot scoate :-?
  17. Salut la toti am incercat sa fac cand intri pe SV inainte sa te loghezi ,sa cante o melodie. Bun am pus la OnPlayerConnect PlayAudioStreamForPlayer(playerid, "http://samp.dreamservers.ro/music/The%20Godfather%20Theme.mp3"); iar la OnPlayerSpawn StopAudioStreamFor(player); Si imi da eroare la copilare .. undefined symbol "StopAudioStreamFor" ps am pus #define StopAudioStreamFor Se copileaza dar imi da expression has no effect intru pe server incepe melodia dar nu se opreste,canta pana la sfarsit .. ?
  18. Bun pentru stunt oricum destul de frumos 4/5 pentru munca depusa .
  19. Interesant 4/5 data viitoare uploadeaza-l aici : www.solidfiles.com merge si fara cont,dureaza prea mult unde ai uploadat tu . )
  20. Pune altu.) if(strcmp(cmd, "/makeadmin", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{55D4FF}SCRIE:{B4B4B4} /makeadmin [playerid/PartOfName] [level(1-1339)]"); return 1; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 1338) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pAdmin] = level; printf("AdmCmd: %s a fost promovat de %s la admin level %d .", sendername, giveplayer, level); format(string, sizeof(string), " Tu ai fost promovat la admin %d de catre Administratorul %s", level, sendername); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " Tu ai promovat pe %s la admin level %d .", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Level admin %d by admin %s to %s", level, sendername, giveplayer); SendAdminMessage(COLOR_ADMIN, string); } } } else { SendClientMessage(playerid, COLOR_RED, " Tu nu esti autorizat pentru a folosi aceasta comanda!"); } } return 1; }
  21. } dcmd_rset(playerid,params[]) { if(PlayerInfo[playerid][pAdmin] >= 3) { new text[128], cash; if(sscanf(params,"si",text,cash))return SendClientMessage(playerid,COLOR_WHITE,"{55D4FF}SCRIE:{B4B4B4} /rset [text] [premiul]"); if(strlen(text) > 50) return SendClientMessage(playerid,COLOR_WHITE,"EROARE: Maxim 25 de caractere sunt permise."); if(cash < 1 || cash > 100000) return SendClientMessage(playerid,COLOR_WHITE,"EROARE: Premiul trebuie sa fie cuprins intre 1$ - 100.000$."); format(ReactionString,sizeof(ReactionString),"%s",text); ReactionCash = cash; PassiveMode = PASSIVE_ON; ReactionTest(); } return 1; } Adauga-l in gm,tastezi /rset si iti dai seama.
×
×
  • 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.