Jump to content

mafia_wars

Membru
  • Posts

    138
  • Joined

  • Last visited

    Never

Everything posted by mafia_wars

  1. Am download si eu un dealership de pe samp.com si cand il copilez imi da erorile : [pawn]D:\A-Zone\filterscripts\dealership.pwn(1180) : error 021: symbol already defined: "strtok" D:\A-Zone\filterscripts\dealership.pwn(1195) : error 047: array sizes do not match, or destination array is too small D:\A-Zone\filterscripts\dealership.pwn(1201) : error 047: array sizes do not match, or destination array is too small D:\A-Zone\filterscripts\dealership.pwn(1234) : error 047: array sizes do not match, or destination array is too small D:\A-Zone\filterscripts\dealership.pwn(1383) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. [/pawn] Cum le pot rezolva? liniile:1180[pawn]{[/pawn] 1195[pawn] return result; [/pawn] 1201[pawn] cmd = strtok(cmdtext, idx); [/pawn] 1234[pawn] tmp = strtok(cmdtext, idx); [/pawn] 1383[pawn] tmp = strtok(cmdtext, idx);[/pawn] Un link cu pawn de la fs http://solidfiles.com/d/c43d8/
  2. Incearca sa adaugi asta [pawn]#define SetPlayerChatBubble[/pawn] la inceputul gm-ului unde mai ai [pawn]#define[/pawn]
  3. am si eu un sv de samp itru imi fak cont si cand incer sa ma loghez iar nu merge scrie REGISTER si scriu parola si imi scrie ACEST CONT ESTE INREGISTRAT din ce cauza se intampla asta de la mod? host?....... POATE FI din cauza ca am skimbat numele de la servar [[[[[[[[[[[[[[[[[[ RESPECT ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
  4. sunt flodat ce sa fak nu mai stiu merge greu sv tot si pc ce sa fak sa skap de flod [RESPECT]
  5. Edit: Am rezolvat
  6. Pe majoritatea servarelor RP la inceput iti dau lvl 1 bani 60k == dar eu as vrea sa pun sa dea lvl 3 cum sa fak ? si bani sa dau mai multi sa dau 1.000.000
  7. Va rog sami spuneti si mie cum fak sami pun casca pe serva pentru scuter -casca sa apara cand te urci pe scuter (ar fi bun si pe bicicleta sa apra casca cand te urci) :grin:
  8. Dupa cum spune si titlul as vrea sa imi ziceti si mie un streamer functionabil pe versiune 0.3d si un tutorial daca se poate ....
  9. Dupa cum spune si titlul as vrea sa stiu cum scot o cladire din samp de pe servar(care este si in GTA SA) Un tutorial daca sa poate in romana dar e bun si in engleza sau un video pe youtube Multumesc
  10. EDIT: gata am rezolvat trebuia pus [pawn]if (PlayerInfo[playerid][pAdmin] < 6000) { [/pawn] Dupa [pawn]if(IsPlayerConnected(playerid)) {[/pawn] Eu aveam dupa [pawn]playa = ReturnUser(tmp);[/pawn] Multumesc orcum PS:miam dat ban chiar pe mai multe conturi
  11. Cum sa fac aceasta comanda sa o poata folosi un admin +6000 o poate folosi si un player [pawn] if(strcmp(cmd, "/ban", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } giveplayerid = ReturnUser(tmp); new playa; playa = ReturnUser(tmp); if(PlayerInfo[playerid][pAdmin] >= 6000) { GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "AdmWarning: %s incearca comanda /ban pe %s ", sendername,giveplayer); ABroadCast(COLOR_YELLOW,string,1); return 1; } if(PlayerInfo[giveplayerid][pAdmin] >= 6000) { SendClientMessage(playerid,COLOR_GREY,"That player can not be banned"); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "AdmWarning: %s incearca comanda /ban pe un admin 6000", sendername); ABroadCast(COLOR_YELLOW,string,1); return 1; } if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] != 4999) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); 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, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } new year, month,day; getdate(year, month, day); new hour,minuite,sec; gettime(hour,minuite,sec); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); BanLog(string); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel]; PlayerInfo[giveplayerid][pLevel] = -999; new plrIP[16]; GetPlayerIp(giveplayerid,plrIP, sizeof(plrIP)); SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO]___________|"); format(string, sizeof(string), "Numele tau este: %s.",giveplayer); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "IP-ul tau este: %s.",plrIP); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat de: %s.",sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat pentru urmatorul motiv: %s.",(result)); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat pe data de: %d/%d/%d (Ziua-Luna-Anul)",day,month,year); SendClientMessage(giveplayerid, COLOR_WHITE, string); SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO Global-Network]___________|"); SendClientMessage(giveplayerid,COLOR_LIGHTRED,"[bAN INFO]: Poti face o cerere de unban pe forumul nostru.Forumul este .Succes !"); SendClientMessage(giveplayerid,COLOR_WHITE,"[HINT]: Te sfatuim sa faci o poza la aceste informatii,si sa o postezi cand faci cerere unban.Apasa F8 pentru a face poza !"); Ban(giveplayerid); return 1; } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; } [/pawn]
  12. Ma puteti ajuta si pe mn cu ceva.. Am un GM Role Play ... Si as vrea ca toate mafiile sa aiba culoarea alba cum as putea face? Multumesc anticipat :afro:
×
×
  • 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.