Jump to content

heker

Membru
  • Posts

    617
  • Joined

  • Last visited

    Never

Everything posted by heker

  1. heker

    Server-down

    Salut, am si eu o problema la host. 1.Am luat host la atocs si am versiunea 0.3a, incerc sa bag 0.3b, am facut in felul urmator: Am inlocuit fisierele : samp03svr samp-npc announce cu cele de pe linux X86 de pe sa-mp.ro cand dau restart din gcp imi apare cu rosu si scrie server down
  2. Up si la mine comanda cu gmx...plizz
  3. heker

    Nick don't Save

    Numele la ce? la gm in gm? specifica mai bn :)
  4. Am observat ca la topicul "Probleme Godfather" sunt multe intrebari cum adaugi icon pe harta. Nu este greu si m-am gandit sa fac un tutorial 1.Cauti in gm linia: public OnPlayerConnect(playerid) si dupa { adaugi SetPlayerMapIcon( playerid, 1, coordonateX,coordonateY,coordonateZ,id icon, 0 );// icon car Pentru a vedea id cu iconurile intrati aici: http://wiki.sa-mp.com/wiki/MapIcons
  5. 1.Probleme Godfather 2. Uite comanda roadblock //--------------------------------=[Roadblock]=-------------------------------// if(strcmp(cmdtext, "/roadblock", true)==0 || strcmp(cmdtext, "/rb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not a cop!"); if (PlayerInfo[playerid][pRoadblock] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can only deploy 1 roadblock at a time, type /rrb to remove your existing one."); if (roadblocktimer != 0) return SendClientMessage(playerid, COLOR_GREY, "Please wait before trying to spawn another roadblock!"); new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); PlayerInfo[playerid][pRoadblock] = CreateObject(981, X, Y, Z, 0.0, 0.0, A+180); SetPlayerPos(playerid, X, Y, Z+4); GameTextForPlayer(playerid, "~w~Roadblock ~r~Placed", 5000, 5); SendClientMessage(playerid, COLOR_GREEN, "Roadblock deployed successfully, type /rrb or /roadunblock to remove it."); roadblocktimer = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "HQ: A roadblock has been deployed by %s, it has been marked on the map by a checkpoint.", sendername); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pLeader] == 1) { SetPlayerCheckpoint(playerid, X, Y, Z-10, 1.0); SendClientMessage(i, TEAM_BLUE_COLOR, string); if (PlayerInfo[i][pRank] >= 3 && PlayerInfo[i][pMember] || PlayerInfo[i][pLeader] == 1) { SendClientMessage(i, COLOR_YELLOW, "You can remove all roadblocks by typing /rrball"); } } } } SetTimer("ResetRoadblockTimer", 60000, false); return 1; } if(strcmp(cmdtext, "/roadunblock", true)==0 || strcmp(cmdtext, "/rrb", true)==0) { if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) { SendClientMessage(playerid, COLOR_GREY, "You are not a cop!"); return 1; } if (PlayerInfo[playerid][pRank] < 3) { SendClientMessage(playerid, COLOR_GREY, "You have to be rank 3 to use this command!"); return 1; } if (PlayerInfo[playerid][pRoadblock] == 0) { SendClientMessage(playerid, COLOR_GREY, "You haven't deployed a roadblock!"); return 1; } RemoveRoadblock(playerid); SendClientMessage(playerid, COLOR_GREEN, "Roadblock removed successfully."); return 1; } 3. Specifica ce face comanda /mask
  6. heker

    un warn

    Adauga in pawno care il folosesti asta Sinclude.inc dawnloadeazo de aicea http://www.filestube.com/f84a213f414d650b03ea,g/SInclude.html
  7. Asa am facut viorel dar cand dau restart din gcp imi scrie server down si apare cu rosu :|
  8. Daca serverul este 0.3a ce inlocuiesc sa merga pe b? samp03svr samp-npc announce ASTEA?
  9. Viorel am bagat TextDrawShowForPlayer(playerid,Textdraw0); la public OnPlayerConnect(playerid) dar tot asa face...
  10. Si eu am acesta problema am server hostat tot pe linux dar cand incerc sa bag 0.3b numai porneste serverul . Ce fac ..........
  11. Obiectele le am in gm dar am si pluginurile streamer, xtreamer pornite.......
  12. Salut. Am si eu o problema la obiecte. Le creez cu MTA le bag in gm dar nu se vad. Daca le asez mai sus in gm de celelalte obiecte se vad cele respective dar nu se vad celelalte. Pot sa spun ca am si streamerul lui icognito si xtreamer. Si mai am o problema, cand dau /gmx la server nu mi se mai vede forumul si ceasul :(
  13. Am rezolvat cu asta am mai dezvoltato if(strcmp(cmd,"/tow",true)==0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 7) { if(IsPlayerInAnyVehicle(playerid)) { new m = GetVehicleModel(GetPlayerVehicleID(playerid)); if (m == 525 || m == 552) { if(GetPlayerState(playerid)==2) { new Float:pX,Float:pY,Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); new Float:vX,Float:vY,Float:vZ; new Found=0; new vid=0; while((vid<MAX_VEHICLES)&&(!Found)) { vid++; GetVehiclePos(vid,vX,vY,vZ); if ((floatabs(pX-vX)<7.0)&&(floatabs(pY-vY)<7.0)&&(floatabs(pZ-vZ)<7.0)&&(vid!=GetPlayerVehicleID(playerid))) { Found=1; if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { DetachTrailerFromVehicle(GetPlayerVehicleID(playerid)); } else { AttachTrailerToVehicle(vid,GetPlayerVehicleID(playerid)); } } } if(!Found) { SendClientMessage(playerid,0xFFFF00AA,"There is no car in range."); } } else { SendClientMessage(playerid, COLOR_GRAD2, "You need to be the driver!"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You need to be in a Tow truck to use this!"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You need to be in a vehicle to do this!"); return 1; } } else { SendClientMessage(playerid,COLOR_GRAD2,"You need to be a Mechanic to use this!"); return 1; } } return 1; }
  14. Mai revin cu un quote peste 12 ore si fara ajutor :(
  15. Da viorel am trecut si la probleme godfather am mai dat si un quote dai degeaba Sa rezolv si eu problema asta s dai close te rog...Am muncit mult la tow car company credema Revin dupa 12 ore cu un quote sa nu se zica ca am facut dublu post bag comanda: //tractare vehicule if ( strcmp ( cmdtext , "/ad", true)==0){ new Float:pX,Float:pY,Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); new Float:vX,Float:vY,Float:vZ; new Found=0; new vid=0; while((vid<MAX_VEHICLES)&&(!Found)) { vid++; GetVehiclePos(vid,vX,vY,vZ); if ((floatabs(pX-vX)<7.0)&&(floatabs(pY-vY)<7.0)&&(floatabs(pZ-vZ)<7.0)&&(vid!=GetPlayerVehicleID(playerid))) { Found=1; if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { DetachTrailerFromVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid,0xFFFF00AA,"Ai deatasat masina"); }else { AttachTrailerToVehicle(vid,GetPlayerVehicleID(playerid)); new string[256]; format(string,256,"Acum tu tractezi un %s",VehicleName[GetVehicleModel(vid)-400]); SendClientMessage(playerid,0xFFFF00AA,string); } } } if (!Found) { SendClientMessage(playerid,0xFFFF00AA,"Nu am gasit nici un vehicul,mergeti mai aproape de masina."); } return 1; } /////// si imi da aceste erori: C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23716) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23717) : error 017: undefined symbol "VehicleName" C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23717) : warning 215: expression has no effect C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23717) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23717) : error 029: invalid expression, assumed zero C:\Documents and Settings\Gaby\Desktop\MrIllusion\MrIllusion\gamemodes\eRP.pwn(23717) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
  16. Am incercat si cum a zis farse inainte sa dau replay aicea dar mia dat niste erori :(
  17. Am facut factiunea tow car company si nu pot sa atasez masini (sa le remorchez) ce este de facut ziceti si mie va rog :)
  18. Frate si eu am avut BlodZ dar este plin de buguri o sa te convingi pe parcurs ;)
  19. Hamachi iti face ip rutabil til face stabil, bine o sa ai 2 ip :)
  20. Am incercat si eu sa fac ceva ca tot va cer ajutorul sa ajut si eu dar daca nui bun dati delete :(
  21. heker

    Ajutor

    GG Viorel 7 erori =)) C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(6) : error 017: undefined symbol "MAX_PLAYERS" C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(6) : error 009: invalid array size (negative, zero or out of bounds) C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(304) : error 017: undefined symbol "COLOR_GREY" C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(310) : error 010: invalid function or declaration C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(312) : error 010: invalid function or declaration C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(317) : error 010: invalid function or declaration C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(320) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors. Mai pe scurt ai sa imi dai niste gate la lspd bune fara buguri :)
  22. heker

    Ajutor

    Asa am incercat si eu si imi da erorile asetea C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 017: undefined symbol "PlayerInfo" C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : warning 215: expression has no effect C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 029: invalid expression, assumed zero C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
  23. heker

    Ajutor

    if (strcmp("/garaj", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 11.0, 1589.02050781,-1638.08789062,14.95541191)) MoveObject(Subterranea,1589.02050781,-1638.08789062,8.34928703, 3.0); SendClientMessage(playerid, 0xFFE13FF, "Poarta sa deschis, in 5 secunde se inchide."); SetTimer("cerrar1",5000,false); return 1; }
  24. heker

    Ajutor

    Leam facut se deschid perfect dar problema este ca daca sunt civil si scriu /bariera si atunci se deschide si stiu ca nu este problema de la MTA dar am zis asa ca sa numai trec la godfather ca mi se dadea raspuns peste 10 ani :P
  25. heker

    Ajutor

    Am facut niste porti cu MTA la lspd si am facut un filescript leam bagat merg pe baza de comanda /open dar problema este ca si civili o pot deschide :| nu am facut ceva bine in MTA :|
×
×
  • 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.