Jump to content

botz00r

Membru
  • Posts

    47
  • Joined

  • Last visited

    Never

Everything posted by botz00r

  1. Asa faceam si eu, daca vroiam sa fac asa nu mai ceream suport aici.
  2. Da-mi pm cu server`ul tau, poate iti dau eu tot sistemu. Functionabil !
  3. Salutare, am facut integrat un mapicon intr-o comanda : [pawn] if(PlayerInfo[playerid][pLevel] < 4 ) { SetPlayerMapIcon(playerid, 15, 1892.8780,1596.8157,10.0991, 18, 0, MAPICON_GLOBAL_CHECKPOINT ); // Materials Deliver SendClientMessage ( playerid,0xFFFFFFFF, ""#INFO"[iNFO] "#ALB"Pentru ca esti incepator, ti-am setat un icon pe harta.Dute la el sa duci materialele. "); }[/pawn] [pawn] if(PlayerInfo[playerid][pLevel] < 4 ) { RemovePlayerMapIcon( playerid, 15 ); // Materials deliver }[/pawn] Merge, totul e ok. Doar ca, cand playeru da de exemplu /w sau oricare alta comanda si serveru ii trimite un raspuns tip : this player is not connected, dispare icon-map`u dupa harta.
  4. Esti praf sTk. )) te-ai apucat si tu de scripting? =) ) @ON, iti lipseste un include.
  5. nu l-am luat.. am modificat comanda /rentcar :-" Am rezolvat ! Dai T/C ! nu imi compila pawn ca se deschidea gm-ul cu un pawno de 3a..:)
  6. botz00r

    Auto AFK

    nu stie asta ce inseamna "search" vorbesti singur
  7. botz00r

    Auto AFK

    Nu se cer comenzi ! PPAAAAA !!! sa-mp.com cauta .
  8. Am incercat si cum ai zis tu , tot nu merge.
  9. La cateva comenzi chiar daca sunt bune primesc aceasta erroare " Server sais : Server Unknown command " Tip /lock cand iau in rent o masina , unrentcar la fel si givekey pana acum :-?? cum sa rezolv problema :-? comanda lock : if(strcmp(cmd, "/lock", true) == 0) { if(IsPlayerConnected(playerid)) { new carid; if (gTeam[playerid] == 2 || gTeam[playerid] == 1) { if(gLastCar[playerid] == 0 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle."); return 1; } else if(gLastCar[playerid] != 0 && gLastCar[playerid] != PlayerInfo[playerid][pPhousekey]+1) { if (HireCar[playerid] != gLastCar[playerid] && HireCar[playerid] != 299) { gLastDriver[HireCar[playerid]] = 300; gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); } HireCar[playerid] = gLastCar[playerid]; } } if (PlayerInfo[playerid][pPhousekey] == 255) { if(HireCar[playerid] == 299) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle."); return 1; } } carid = PlayerInfo[playerid][pPhousekey]+1; if(HireCar[playerid] != 299 && !SwitchKey[playerid]) { carid = HireCar[playerid]; } //new driver = gLastDriver[carid]; new lockstatus = gCarLock[carid]; new Float:cx,Float:cy,Float:cz; GetVehiclePos(carid, cx, cy, cz); switch (lockstatus) { case 0: { if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle"); return 1; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Hire Vehicle ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 1; LockCar(carid); } else if (PlayerInfo[playerid][pPhousekey] == carid-1) { GameTextForPlayer(playerid, "~w~House Vehicle ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 1; LockCar(carid); return 1; } } case 1: { if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle"); return 1; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Hire Vehicle ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 0; UnLockCar(carid); } if (PlayerInfo[playerid][pPhousekey] == carid-1) { GameTextForPlayer(playerid, "~w~House Vehicle ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 0; UnLockCar(carid); return 1; } } default: { SendClientMessage(playerid, COLOR_GRAD2, " Error"); } } if(carid == 256) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle !"); } } return 1; } unrentcar : if(strcmp(cmd, "/unrentcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(HireCar[playerid] != 299) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); HireCar[playerid] = 299; GameTextForPlayer(playerid, "~w~You no longer rent a car", 5000, 3); } } return 1; } givekey : if(strcmp(cmd, "/givekey", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); new car; if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /givekey [playerid/PartOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD1, " You dont have a key to give"); return 1; } else { if(HireCar[playerid] != 299 && SwitchKey[playerid] == 0) { car = HireCar[playerid]; gCarLock[car] = 0; UnLockCar(car); HireCar[playerid] = 299; } else { car = PlayerInfo[playerid][pPhousekey]+1; } } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(5.0, playerid, giveplayerid)) { if(HireCar[giveplayerid] != 299) { gCarLock[HireCar[giveplayerid]] = 0; UnLockCar(HireCar[giveplayerid]); } HireCar[giveplayerid] = car; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), " You have given %s the key to your vehicle", giveplayer); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), " You have recieved the key to a vehicle from %s", sendername); SendClientMessage(giveplayerid, COLOR_GRAD1, string); format(string, sizeof(string), "* %s takes out a set of keys, and tosses them to %s.", sendername ,giveplayer); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } } } return 1; }
  10. Am rezolvat , ms TzAkS ! Doar ca cum ai spus si tu am problema aia cu chat-ul de ex , daca factiunea x scrie ceva vede si factiunea y ce a scris factiunea x .. :-?? cum rezolv problema asta:-?
  11. Ok.. fie cum vreti voi lasati offtopic nu pentru asta am postat
  12. ba moldovene mai faci mult circ dinasta ieftin? asta are numele "House Generator Source.zip | ZIP File" .zip nu e .exe hai sal.
  13. Nu il luati , omu e "hecher" a auzit si el de keylogger si a zis gata ii pacalesc pe astia dute pe taramurile moldovei acolo e ceva nou probabil e .exe nul luati ! auzi la el nume "House Generator v2.1.exe | Program" e creatie proprie?
  14. cum sa fac o ideie ceva?
  15. Atunci nustiu e scriptat prost gm-ul probabil..
  16. dai ctrl + f cauti public SetPlayerSpawn(playerid) Dupa ce ai gasit asta modifici la SetPlayerPos(playerid, de la fiecare factiune. De exemplu vrei sa schimbi spawn-ul de la Mayor , odata ce ai gasit linile astea if(PlayerInfo[playerid][pLeader] == 7)//Mayor spawn { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid, 3); SetPlayerPos(playerid, 356.2998,151.9914,1025.7891); // aici pui coordinatele noi. PlayerInfo[playerid][pInt] = 3; PlayerInfo[playerid][pLocal] = 241; return 1; Sper ca ai inteles ..
  17. Ba , asta cu hq-urile diferite stiam sa le fac si eu deasta am facut topicul asta poate ma ajuta cineva sa reusesc sa pun la mai multe factiuni acealasi interior..
  18. Tsazk am pus coordinatele si id-ul la interiorul pe care il vreau cand dau /enter ma da unde am salvat coordinatele.. :-? Trebuie lucrat in MTA probabil , eu vreau sa fac vreo 5 interioare cu coordinate separate pentru gang-uri .. :-|
  19. Nu ati inteles ! Stiu sa fac un hq e ff usor cu /enter si /exit problema este la coordinatele de la hq pun acelasi coordinate de la interiorul 10 la fiecare hq si cand intra un player din factiunea "x" de exemplu se intalneste cu ala din factiuna "y" intelegeti ce vreau sa spun? :rolleyes:
  20. Deci am o probleme cu interioarele, nu stiu cum sa fac un interior pe harta.. de exemplu interioru 10 -975.975708,1060.983032,1345.671875 astea sunt coordinatele de la el.. daca pun coordinatele astea la toate hq-urile ma da in acelasi interior intrebarea mea este cum sa fac un interior cu acelasi id pe alte coordinate :-? cu mta sau cum daca e cu mta explicatim mai clar pentru ca nu prea ma pricep.. nu prea stiu sa ma explic ) romana asta..
  21. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pMember]==3) {} else { //WantedPoints[playerid]+=2; //SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle"); new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } if (IsAnAmbulance(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { } else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Stealing An Ambulance"); } } } return 1; } Am aceasi problema dau /veh la un vehicol si nu pot urca in ea ca si cum ar fi masina de pd
×
×
  • 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.