Jump to content

Stefan

Membru
  • Posts

    83
  • Joined

  • Last visited

    Never

Everything posted by Stefan

  1. la /invite am gasit setteam si am pus 2 dar la makeleader nu gasesc si la ce miai dat tu mai sus imi da erori
  2. mi se pare interesant numai ca nu reusesc sa aflu cate masini am in GM unde vad asta?
  3. problema e de la setteam 2 ca atunci cand dau cuiva makeleader in PD,FBI sau NG nu se seteaza automat Team 2 si nici cand da un leader /invite trebuie sa le dau eu tot timpu stteam 2
  4. [pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=SendTeamMessage=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= public SendTeamMessage(team, color, string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(gTeam == team) { SCM(i, color, string); } } } }[/pawn]
  5. in joc recunoaste cand dau /d dar cand scriu ceva pe /d nu apare nimic [pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-Departaments-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= if(strcmp(cmd, "/departments", true) == 0 || strcmp(cmd, "/d", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMuted] == 1) { format(string, sizeof(string), "You can not speak, you have been silenced for %d seconds.",PlayerInfo[playerid][pMuteTime]); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SCM(playerid, COLOR_GRAD2, "USAGE: (/d)epartments [department chat]"); return 1; } if(FindIP(result)) { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "[AdmWarning]: %s[iD: %d] a facut reclama si a primit ban!",advertiser,playerid); ABroadCast(COLOR_LIGHTRED,string,1); Ban(playerid); return 1; } result[0] = toupper(result[0]); if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Chief %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Captain %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Lieutenant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Sergeant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Officer %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Cadet %s: %s, over. **", sendername, result); } else { format(string, sizeof(string), "** Officer %s: %s, over. **", sendername, result); } SendTeamMessage(2, COLOR_DBLUE, string); SendTeamMessage(1, COLOR_DBLUE, string); printf("%s", string); return 1; } else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Director %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Assistant Director in Charge %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Special Agent in Charge %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Special Agent %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Special Agent Trainee %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Professional Staff %s: %s, over. **", sendername, result); } else { format(string, sizeof(string), "** Intern %s: %s, over. **", sendername, result); } SendTeamMessage(2, COLOR_DBLUE, string); SendTeamMessage(1, COLOR_DBLUE, string); printf("%s", string); return 1; } else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** General %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Lieutenant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Captain %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Major %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Sergeant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Private %s: %s, over. **", sendername, result); } else { format(string, sizeof(string), "** Private %s: %s, over. **", sendername, result); } SendTeamMessage(2, COLOR_DBLUE, string); SendTeamMessage(1, COLOR_DBLUE, string); printf("%s", string); return 1; } else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** General %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Lieutenant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Captain %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Major %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Sergeant %s: %s, over. **", sendername, result); } else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Private %s: %s, over. **", sendername, result); } else { format(string, sizeof(string), "** Spitalul Judetean %s: %s, over. **", sendername, result); } SendTeamMessage(2, COLOR_DBLUE, string); SendTeamMessage(1, COLOR_DBLUE, string); printf("%s", string); return 1; } else { SCM(playerid, COLOR_GRAD2, " You are not part of a Team !"); return 1; } } return 1; } [/pawn]
  6. Stefan

    problema

    MULTUMESC!!!!!!!merge
  7. Stefan

    problema

    mda foarte bun raspunsul nu gasesc sscanf si audio ca streamer am gasit oricum MULTUMESC!!!
  8. Stefan

    problema

    te rog poti lasa un link cu pluginurile?
  9. Stefan

    problema

    Am scris bine numele GM si am Netframework 4 si visualc++ 2008 de unde sa iau pluginurile de la 0.3x ca am descarcat de la ei 0.3x server dar folderul plugins e gol Cand il pun pe 0.3e merge perfect
  10. Stefan

    problema

    Cum as putea rezolva aceasta problema? ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3x, ©2005-2013 SA-MP Team [07:24:08] filterscripts = "" (string) [07:24:08] [07:24:08] Server Plugins [07:24:08] -------------- [07:24:08] Loading plugin: streamer [07:24:08] *** Streamer Plugin v2.5.2 by Incognito loaded *** [07:24:08] Loaded. [07:24:08] Loading plugin: sscanf [07:24:08] [07:24:08] =============================== [07:24:08] sscanf plugin loaded. [07:24:08] © 2009 Alex "Y_Less" Cole [07:24:08] =============================== [07:24:08] Loaded. [07:24:08] Loading plugin: audio [07:24:08] *** Audio Plugin v0.4 by Incognito loaded *** [07:24:08] Loaded. [07:24:08] Loaded 3 plugins. [07:24:08] [07:24:08] Ban list [07:24:08] -------- [07:24:08] Loaded: samp.ban [07:24:08] [07:24:08] [07:24:08] Filterscripts [07:24:08] --------------- [07:24:08] Loaded 0 filterscripts. [07:24:08] Script[gamemodes/black.amx]: Run time error 19: "File or function is not found" [07:24:08] Number of vehicle models: 0
  11. Va rog sa ma ajutati nu stiu ce are filezilla de nu ma lasa sa uploadez serverul
  12. VA ROG SA MA AJUTATI C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(17695) : error 017: undefined symbol "COLOR_Ballas" C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(17711) : error 017: undefined symbol "COLOR_BALLAS" C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(32704) : error 017: undefined symbol "TEAM_BALLAS_COLOR" C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(47503) : warning 217: loose indentation C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(47551) : error 017: undefined symbol "COLOR_Ballas" C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(65658) : error 017: undefined symbol "COLOR_BALLAS" C:\Users\Stefan\Desktop\GM\gamemodes\Teddy23.pwn(65659) : error 017: undefined symbol "COLOR_BALLAS" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
  13. Am luat GM iti lipseste ceva din scriptfile nu stiu ce dar de acolo lipseste. Ce cu GM asta??=)) are cateva comenzi de admin traduse in romana de iti vine sa mori de ras,nu te poti loga /rcon ca iei ban chiar daca pui parola buna si nu ai /makeadmin si /makeleader
  14. tu ai pus if(strcmp(cmd, "/sethelperoff", true) == 0) e down iar if(strcmp(cmd, "/sethelperoff", true) == 1) e up
  15. Uite ce am gasit public LockCar(carid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { SetVehicleParamsForPlayer(carid,i,0,1); } } } sa pun 0 in loc de 1?CAND APAS G se urca in masina dar cand apas F sau ENTER nu se urca
  16. Incearca sa scrii IP nu sa dai copy/paste
  17. Da,absolut toate masinile sunt incuiate
  18. Am o problema mare toate masinile de pe server sunt blocate cum fac sa le deblochez??si alea de la factiuni
  19. Stefan

    Eroare

    De la ce imi da eroarea asta? C:\Users\Stefna\Desktop\New folder\pawno\include\Y_INI.inc(161) : fatal error 100: cannot read from file: "internal\y_version"
  20. pun asta la sfasitul GM??sau unde???MULTUMESC Si inca ceva dupa ce copiez ce ai scris cu acolo si cand dau paste in pawno mi se pune tot scrisu pe o singura linie.cum asa putea sa fac sa se puna in mai multe linii exact cum ai scris tu?
  21. Salutare am un GM si are sistem de masini personale in el nu e FS si are doar comanda /v sellto,ma puteti ajuta sa pun si comanda /v sell?Multumesc
  22. mai mule erori imi da oricum multumesc. Am reusit sa rezolv sa recunoasca comenzile,toate erau setate la admin level 6002
  23. Stefan

    walk/talk

    sigur ai filescript cu asa ceva verifica filescript si vezi poate ai si sterge
  24. Nu stiu ce se intampla de nu recunoaste nici-o comanda de admin Nu am modificat nimic in script dar cand il compilez imi da cateva warninguri C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(52218) : warning 202: number of arguments does not match definition C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(52218) : warning 202: number of arguments does not match definition C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(52245) : warning 235: public function lacks forward declaration (symbol "GateClose36") C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(52774) : warning 202: number of arguments does not match definition C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(52774) : warning 202: number of arguments does not match definition C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(53856) : warning 203: symbol is never used: "Admin" C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(53856) : warning 203: symbol is never used: "PlayerPos" C:\Users\Stefna\Desktop\Arth\gamemodes\ArTh.pwn(53856) : warning 203: symbol is never used: "idletime" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
×
×
  • 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.