Jump to content

hNh14

Membru
  • Posts

    19
  • Joined

  • Last visited

    Never

Everything posted by hNh14

  1. hNh14

    Un ajutor

    -IcE- nu imi merge cand dau /marsh numi da adminul imi zice ca nu esti conectat
  2. hNh14

    Un ajutor

    Poate sa faca cineva din comanda de mai jos sa scriu /marsh si sami deie direct admin nu ca dau /marsh si trebuie sa aleg id/player grad imi pot face cnv ? [pawn] if(strcmp(cmd, "/marsh", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "* /marsh [playerid/PartOfName] [grad]"); return 1; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 0) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pAdmin] = level; format(string, sizeof(string), "Ai fost promovat la admin level %d de catre Owner %s.", level, sendername); SendClientMessage(para1, COLOR_ADMIN, string); format(string, sizeof(string), "L-ai facut pe %s Admin de level %d.", giveplayer,level); SendClientMessage(playerid, COLOR_1BLUE, string); } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Te-ai facut admin pe ascuns!"); } } return 1; }[/pawn]
  3. hNh14

    restart la sv

    la cel official care lam downloadat de pe sa-mp.ro/download imi porneste si apoi se inchide ra
  4. hNh14

    restart la sv

    nu este luat de pe net mi la dat un prieten mia dat doar gm nu si arhiva serverului P.S. : am toate folderele in script files
  5. hNh14

    restart la sv

    Mie mi se intampla la alti nu stiu daca li se intampla
  6. as dori sa ma ajutati si pe mn mi se tot da restart la un server si nu ma pot loga intru in zice connect to server si apoi se da restart ma poate ajuta cnv ?
  7. Stuntman eu vreau cu noname sa ne facem server sa nu zici ca batman va putea confirma si uite ce erori ne da daca il bagam la onplayercommandtext D:\samp\Server Samp hNh14 ; Noname\gamemodes\hNh14.pwn(15860) : error 017: undefined symbol "cmd" D:\samp\Server Samp hNh14 ; Noname\gamemodes\hNh14.pwn(15868) : error 017: undefined symbol "playername" D:\samp\Server Samp hNh14 ; Noname\gamemodes\hNh14.pwn(15868) : error 017: undefined symbol "playername" D:\samp\Server Samp hNh14 ; Noname\gamemodes\hNh14.pwn(15868) : error 029: invalid expression, assumed zero D:\samp\Server Samp hNh14 ; Noname\gamemodes\hNh14.pwn(15868) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
  8. hNh14

    Ma ajuta cnv ?

    unde sa adaug? ca eu am pModerator
  9. Imi poate face cnv in loc de /a sa scrie /mda si acolo sa vb si admini si moderatori ... sa va explic mai concret vrea sa imi face un chat al moderatorilor si adminilor in loc de /a la care scri /mda [text] pentru a putea vb doar moderatori cu admini. si comanda la moderator are pModerator si numele la moderator este asa Trial Moderator , Good Moderator , Best Moderator , Hard Moderator [pawn] if(strcmp(cmd, "/admin", true) == 0 || strcmp(cmd, "/a", true) == 0) { if(IsPlayerConnected(playerid)) { 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)) { SendClientMessage(playerid, COLOR_GRAD2, "» Scrie: (/a)dmin [admin chat]"); return 1; } if (PlayerInfo[playerid][pAdmin] == 1) { format(string, sizeof(string), "» Trial Admin %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 2) { format(string, sizeof(string), "» Good Admin %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 3) { format(string, sizeof(string), "» Best Admin %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 4) { format(string, sizeof(string), "» Hard Admin %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 1337) { format(string, sizeof(string), "» Head Admin (1337) %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 1338) { format(string, sizeof(string), "» Co-Owner %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 1339) { format(string, sizeof(string), "» Owner %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } if (PlayerInfo[playerid][pAdmin] == 5000) { format(string, sizeof(string), "» Administrator %s: %s.", sendername, result); SendAdminMessage(0x996600FF, string); } printf("» Admin %s: %s", sendername, result); } return 1; }[/pawn]
  10. D:\samp\Server Samp hNh14 ; Noname\gamemodes\NVL.pwn(31518) : error 017: undefined symbol "PlayerReported" D:\samp\Server Samp hNh14 ; Noname\gamemodes\NVL.pwn(31518) : warning 215: expression has no effect D:\samp\Server Samp hNh14 ; Noname\gamemodes\NVL.pwn(31518) : error 001: expected token: ";", but found "]" D:\samp\Server Samp hNh14 ; Noname\gamemodes\NVL.pwn(31518) : error 029: invalid expression, assumed zero D:\samp\Server Samp hNh14 ; Noname\gamemodes\NVL.pwn(31518) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. if(strcmp(cmd, "/report", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerReported[playerid] == -1) [color=red]- aceastea este problema[/color] { SendClientMessage(playerid, COLOR_LIGHTRED, " You can only send a report once a minute !"); } else if(PlayerReported[playerid] == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[130]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; for(new s = 0; s < num_words; s++) { new pos; while((pos = strfind(result,Swears[s],true)) != -1) for(new i = pos, j = pos + strlen(Swears[s]); i < j; i++) { result[i] = '*'; } } if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /report [text]"); return 1; } format(string, sizeof(string), "[REPORT] from Player %s(ID:%d): %s", sendername, playerid, (result)); ABroadCast(0x92C7C7FF,string,1); SendClientMessage(playerid, COLOR_YELLOW,"[REPORT INFO]: Your report has been sent to the Admins.It should be answered shortly !"); SetTimerEx("ResetReport", 60000, 0, "d", playerid); PlayerReported[playerid] = -1; CallReport[playerid] = 1; for(new i = 0; i < MAX_PLAYERS; i ++) { if(PlayerInfo[i][pAdmin] >= 1) { format(string, sizeof(string), "~g~~n~~n~~n~~n~~n~~n~~n~~n~~n~New report from ~y~ %s", sendername); GameTextForPlayer(i,string,1500,3); SendClientMessage(i,0x92C7C7FF,"[REPORT]: Use /cr(/callreport) to call this report "); } } } } return 1; } Acestea sunt liniile dinainte si etc
  11. Am rezolvat
  12. Tot nu merge ... nush ce are sa reinstalez pawno ? ... Edit : am reinstalat pawno si tot asa ... tot nu merge nush ce are
  13. da am pawnc.dll ... si tot nu merge
  14. Uploaded with ImageShack.us uitati ce eroare imi da ce sa fac
  15. hNh14

    /mask

    ma ajuta cnv sa fac mask la hitman agency ? sa fie asa : cand dau /mask sa imi apare /mask [on/off] si cand dau on sa nu mi se vada numele si sa nu apar nici pe harta si sa poti da mask doar dintrun loc [ am sa dau eu save undeva doar voi sa scrieti acolo aici sa dai save etc. ]
  16. hNh14

    Am o eroare

    Lasa ca am rezolvat ... am avut arhiva de la server si am puso inapoi si ma ajuta un prieten scripter mai bun sa sterg factiunea ca poate am gresit eu ceva cand am sterso , dar totusi multumesc pt ajutor
  17. hNh14

    Am o eroare

    D:\samp\hNh14 Server\gamemodes\hNh.pwn(2606) : error 052: multi-dimensional arrays must be fully initialized Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. X( nu a mers X(
  18. hNh14

    Am o eroare

    Eu dupa ce am sters o factiune mia dat asa ca am adaugato si nu mai am avut nevoie de ea am sterso si mia dat eroarea si inaintea lini sunt asa {187}, {240}, {295}, {299}, }; = asa arata
  19. hNh14

    Am o eroare

    Am si eu eroare 029 si 008 si este pe randul 2606 si acolo am un simbol }; si daca il sterg imi dai multe erori ce sa fac? D:\samp\hNh14 Server\gamemodes\hNh.pwn(2606) : error 029: invalid expression, assumed zero D:\samp\hNh14 Server\gamemodes\hNh.pwn(2606) : error 008: must be a constant expression; assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
×
×
  • 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.