Jump to content

heker

Membru
  • Posts

    617
  • Joined

  • Last visited

    Never

Everything posted by heker

  1. Un ajutor va rog:( nu pot face nimic fara asta. Scz de dublu post (
  2. Imi da 2 erori la compilare. Am bagat codul pentru comanda /veh si imi da aceste erori if(strcmp(cmd, "/veh", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] < 4) { SendClientMessage(playerid, 0xA8A8FFFF, " Ne pare rau , dar tu nu ai accesul la comanda aceasta !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Type / Scrie: /veh [carid] [color1] [color2]"); return 1; } new car; car = strval(tmp); if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, " Vehicle Number can't be below 400 or above 611 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Type / Scrie: /veh [carid] [color1] [color2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Culoarea trebe sa fie intre 0 si 126 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Type / Scrie: /veh [carid] [color1] [color2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new carid = CreateVehicle(car, X,Y +3,Z, 0.0, color1, color2, 60000); CreatedCars[CreatedCar] = carid; CreatedCar ++; format(string, sizeof(string), "Ai spawnat masina cu id %d ", carid); SendClientMessage(playerid, COLOR_GREY, string); } return 1; } si imi da aceste erori :| C:\Documents and Settings\Gaby\Desktop\ser 0.3\gamemodes\larp.pwn(13564) : error 017: undefined symbol "CreatedCar" C:\Documents and Settings\Gaby\Desktop\ser 0.3\gamemodes\larp.pwn(13565) : error 017: undefined symbol "CreatedCar" C:\Documents and Settings\Gaby\Desktop\ser 0.3\gamemodes\larp.pwn(13565) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
  3. la ce linie bag codul cu /veh :| ca nu il am :(
  4. Imi puteti spune si cum se creaza helperi va rog daca nu va deranjez :)
  5. heker

    Fast Event

    Care este codul de la fast event acela care scrie cel mai rpd f39hZnf castiga ceva de genu :)
  6. Mersi mult ady esti tare frate :D
  7. Cand dau compile imi apare eroarea asta: D:\Saints Network [server SAMP]\Saints Network\gamemodes\larp.pwn(456) : fatal error 100: cannot read from file: "streamer" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. La altcineva se compileaza:|
  8. heker

    Problema HQ

    Am motul gf si am factiuni facute dar nu am HQ la ele si respawnul in am aiurea, ma poate ajuta cineva?
  9. Lam facut de level 4 si mai in romana dar nu imi pai apare timpul sa astepti 60secunde :| if(strcmp(cmd, "/advertise", true) == 0 || strcmp(cmd, "/ad", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pLevel] >= 4) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[264]; 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: (/ad)vertise [advert text]"); return 1; } if ((!adds) && (PlayerInfo[playerid][pAdmin] < 1)) { format(string, sizeof(string), " Asteapta , %d minute Pentru alt anunt !", (addtimer/60000)); SendClientMessage(playerid, COLOR_GRAD2, string); return 1; } new payout = idx * 25; if(GetPlayerCash(playerid) < payout) { format(string, sizeof(string), "* Au fost %d charactere si tea costat $%d, de bani.", offset, payout); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } GivePlayerCash(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "Anunt: %s, Nume: %s Tel: %d", result, sendername,PlayerInfo[playerid][pPnumber]); OOCNews(TEAM_GROVE_COLOR,string); format(string, sizeof(string), "~r~Paid $%d~n~~w~Message contained: %d Characters", payout, idx); GameTextForPlayer(playerid, string, 5000, 5); if (PlayerInfo[playerid][pAdmin] < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;} } else { SendClientMessage(playerid,COLOR_GREY,"Nu ai level 4 !"); } } return 1; }
  10. heker

    O eroare!!

    Deci nu imi fac griji Mersi mult
  11. heker

    O eroare!!

    Dc imi da acesta eroare la compilare.........bine nu eroare dar ma avertizeaza ceva:| Header size: 8096 bytes Code size: 1595080 bytes Data size: 4906332 bytes Stack/heap size: 16384 bytes; estimated max. usage=4123 cells (16492 bytes) Total requirements: 6525892 bytes
  12. heker

    Culori

    Daca sar putea si o lista cu culori pentru pawno Ex: 001x2c300 - galben ceva de genu :)
  13. imi da eroare:( cum tr sa pun nu asa? public OnGameModeInit() { ShowPlayerMarkers(1); nextapartment = 24; nexthouse = 2; nextmedium = 17; nextbig = 1; Predators = 0; asa sau? public OnGameModeInit() { ShowPlayerMarkers(1); // restu de linii pe care le ai } { nextapartment = 24; nexthouse = 2; nextmedium = 17; nextbig = 1; Predators = 0;
  14. As vrea daca se poate un cod sa se vada playeri pe harta.......dar cu cat ma apropi mai mult de el sa se vada........nu sa se vada toti pe toata harta :)
×
×
  • 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.