Jump to content

-=[Vyorel]=-

Administrator
  • Posts

    2.130
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by -=[Vyorel]=-

  1. -=[Vyorel]=-

    Phone

    http://www.sa-mp.ro/forum/index.php/topic,5356.0.html
  2. E ceva de genul asta: Pe la inceputul scriptului new Name[MAX_PLAYER_NAME]; Adauga asta la public OnPlayerConnect(playerid) { //restu de linii GetPlayerName(playerid, Name, sizeof(Name)); if(strfind(Name, "[RSS]", true) != -1) { //player has it in their name... SendClientMessage(playerid, 0xFFFFFFFF, "OMG HAIII THATS A FORBIDDEN TAG!"); new string[150]; format(string,sizeof(string),"%s Got Auto Banned . Reason : [FORRBIDEN CLAN TAG] ",Name); BanEx(playerid,string); return 1; } //restu de linii return 1; }
  3. Adauga asta deasupra la linia 487 enum SavePlayerPosEnum { Float:LastX, Float:LastY, Float:LastZ }
  4. Cauta in ladmin comanda /stats RSS foloseste ladmin, numai ca e modificat.
  5. Ti-a dat model StuntMan. N-ai facut dublu post, dar triplu post ai facut.
  6. Mult mai bun e
  7. Aici sau aici.
  8. Uite-l aici. Pune-l in Pawno/include si dai o recompilare.
  9. lanmode = in retea 0 = dezactivat 1 = activat lanmode 0 = netmode 1
  10. Posteaza OnPlayerRegister
  11. Raspuns pentru toate odata: Posteaza in Probleme Godfather.
  12. Stii vorba aia: "Google face minuni." asa si pe forumul asta butonul Search face minuni, dar pacat ca nu-i folosit. Uite aici.
  13. Inseamna ca e o firma de samp hosting de nota 10 cu minus si ca ii platesti degeaba. Ar mai fi o solutie, lista de servere de la tabul Internet se actualizeaza din 10 in 10 minute. Mai incearca poate iti apare serverul, daca nu punei sa se intereseze sa rezolve problema. Odata ce e firma de samp hosting ar trebui sa stie sa rezolve probleme de genul asta, dar in fine. Informeaza-te daca celelalte servere care sunt hostate de ei apar la Internet, daca apar inseamna ca e din serverul tau, daca nu apar e de la ei.
  14. Vezi daca ai un server.cfg si NU Daca il ai pe 1, atunci zile celor de la host.
  15. [iurl=http://www.sa-mp.ro/forum/index.php/topic,5356.0.html]Probleme Godfather[/iurl].
  16. -=[Vyorel]=-

    .

    +1 Warn pt spam.
  17. Ai facut tot ce scrie aici?
  18. http://www.sa-mp.ro/forum/index.php/topic,2825.0.html
  19. 1. Ce internet ai si prin ce (cablu, modem, etc)? 2. www.iptest.ro (da-le adresa aia). Daca tot nu le merge, raspunde la prima intrebare.
  20. Vezi aici http://www.sa-mp.ro/forum/index.php/topic,1600.0.html
  21. Eu ti l-am inchis. Vrei sa stii si de ce? Raspuns: Pentru ca ti-e lene sa cauti. S-a zis odata aici cum se face, asa ca nu e nevoie sa mai se repete odata acelasi raspuns. Topic Locked!
  22. +1 post facut degeaba. Adauga pe la sfarsitul scriptului astea: forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } forward SetPlayerToTeamColor(playerid); public SetPlayerToTeamColor(playerid) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) SetPlayerColor(playerid,0xFDF9C9FF); if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) SetPlayerColor(playerid,0x0000FFFF); if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) SetPlayerColor(playerid,0x0000FFFF); if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) SetPlayerColor(playerid,0x690E85FF); if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) SetPlayerColor(playerid,0xFFD700FF); if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) SetPlayerColor(playerid,0x3E039FF); if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) SetPlayerColor(playerid,0x0000FFFF); if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) SetPlayerColor(playerid,0xFF9B9BFF); if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) SetPlayerColor(playerid,0xDA1800FF); if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) SetPlayerColor(playerid,0xA98701FF); if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) SetPlayerColor(playerid,0x9ACD32FF); if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) SetPlayerColor(playerid,0xFFFFFFFF00); if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) SetPlayerColor(playerid,0xEFC6FFFF); if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) SetPlayerColor(playerid,0xFFFF00FF); if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) SetPlayerColor(playerid,0x00F5FFFF); if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) SetPlayerColor(playerid,0xBFEFFFFF); if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) SetPlayerColor(playerid,0xFED489FF); } } forward SendIRCMessage(channel, color, string[]); public SendIRCMessage(channel, color, string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayersChannel[i] == channel) { SendClientMessage(i, color, string); } } } } forward SaveCK(); public SaveCK() { new idx; new File: file2; while (idx < sizeof(CKInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%s|%s|%d\n", CKInfo[idx][cSendername], CKInfo[idx][cGiveplayer], CKInfo[idx][cUsed]); if(idx == 0) { file2 = fopen("ck.cfg", io_write); } else { file2 = fopen("ck.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } return 1; } forward SavePapers(); public SavePapers() { new idx; new File: file2; while (idx < sizeof(IRCInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%s|%s|%s|%s|%s|%d\n", PaperInfo[idx][PaperUsed], PaperInfo[idx][PaperMaker], PaperInfo[idx][PaperTitle], PaperInfo[idx][PaperText1], PaperInfo[idx][PaperText2], PaperInfo[idx][PaperText3], PaperInfo[idx][PaperText4], PaperInfo[idx][PaperText5], PaperInfo[idx][PaperText6], PaperInfo[idx][PaperText7], PaperInfo[idx][SafeSaving]); if(idx == 0) { file2 = fopen("papers.cfg", io_write); } else { file2 = fopen("papers.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } return 1; } forward SaveFamilies(); public SaveFamilies() { new idx; new File: file2; while (idx < sizeof(FamilyInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%d|%f|%f|%f|%f|%d\n", FamilyInfo[idx][FamilyTaken], FamilyInfo[idx][FamilyName], FamilyInfo[idx][FamilyMOTD], FamilyInfo[idx][FamilyColor], FamilyInfo[idx][FamilyLeader], FamilyInfo[idx][FamilyMembers], FamilyInfo[idx][FamilySpawn][0], FamilyInfo[idx][FamilySpawn][1], FamilyInfo[idx][FamilySpawn][2], FamilyInfo[idx][FamilySpawn][3], FamilyInfo[idx][FamilyInterior]); if(idx == 0) { file2 = fopen("families.cfg", io_write); } else { file2 = fopen("families.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } return 1; } Data viitoare posteaza in Probleme Godfather.
  23. [iurl=http://www.sa-mp.ro/forum/index.php/topic,5356.0.html]Probleme Godfather[/iurl]
  24. Ce eroare?
  25. Sterge tot callback-ul, adica tot ce e la public OnPlayerPrivmsg
×
×
  • 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.