Jump to content

mihai97

Membru
  • Posts

    22
  • Joined

  • Last visited

    Never

Everything posted by mihai97

  1. Multumesc si astept si propuneri pt v2:)
  2. Pai nustu exact ce mi'a venit dar e mai accesibil pt playeri... )
  3. Salutare si bine v'am regasit! Am creat un script(Primul meu script de cand m'am reapucat de sa-mp :cheesy:) pentru impatimitii curselor si nu numai! [glow=red,2,300][shadow=red,left]Descriere[/shadow][/glow]: Acest script va permite sa va intreceti cu prietenii dar is cu dusmanii.Am creat momentan doar 3 circuite, unul de DRAG, unul de DRIFT si unul ceva mai greu dar tot de drift :grin: . [glow=red,2,300][shadow=red,left]Credite[/shadow][/glow]: Scriptul este facut de mine, sa nu aud ca este copiat sau alte chestii! Ii multumesc lui stuntman, daca nu m'ar fi lasat sa il bat la toate cursele nu as fi putut testa scriptul ) . [glow=red,2,300][shadow=red,left]comenzi[/shadow][/glow]: /race [playerid /provoaca [playerid] /cursa [playerid] Toate fac acelasi lucru, afiseaza un meniu pentru a selecta pe cat doriti sa pariati si pe ce circuit se va desfasura intrecerea. [glow=red,2,300][shadow=red,left]DOWNLOAD[/shadow][/glow]: AICI Astept pareri si sugestii pt v2 .
  4. pai incearca sa pui in loc de cmd cmdtext peste tot.
  5. Sau daca nu e de la comanda incearca sa schimbi numele la un meniu.
  6. mihai97

    cerinta

    //Anims By FLake. #include <a_samp> #define SPECIAL_ACTION_PISSING 68 #define COLOR_BLUE 0x33AAFFFF #define COLOR_YELLOW 0xFFFF00AA #define dialog_anims 1 public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Anims Loading "); print(" "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { print("\n----------------------------------"); print(" Anims Unloading "); print(" "); print("----------------------------------\n"); return 1; } public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_YELLOW,"Loaded: Flakes Anim System! use /anims"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/anims", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, dialog_anims, DIALOG_STYLE_LIST, "Animatii", "relax/nhandsup", "Playe anim", "Close"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == dialog_anims) { if(response) { if(listitem == 0) { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); } } if(listitem == 1) { if (GetPlayerState(playerid)== 1) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); } } } else { SendClientMessage(playerid, COLOR_YELLOW, "Write /anims for show again the anims menu."); } } return 1; } Am facut dialogul cu 2 animatii.Daca vrei sa mai adaugi te duci la linia ShowPlayerDialog(playerid, dialog_anims, DIALOG_STYLE_LIST, "Animatii", "relax/nhandsup", "Playe anim", "Close"); si adaugi la relax/nhandsup /n si dupaia pui ce sa apara in lista de exemplu: relax/nhandsup/nbomb etc. si la public OnDialogResponse pui sub if(listitem == 1) pui if(listitem == 2) { //cod } si tot asa pt fiecare rand.
  7. Cred ca ai mai pus odata OnGameModeInit.Nu trebuie pus decat o data sau daca e FS trebuie sa pui OnFilterScriptInit
  8. ma io nu zic la comenzi ca nu e legat de comenzi acolo.Io zic de asta: public OnPlayerEnterCheckpoint(playerid) { if(IsTrailerAttachedToVehicle(403)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else if(IsTrailerAttachedToVehicle(515)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else if(IsTrailerAttachedToVehicle(514)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else { SendClientMessage(playerid, COLOR_YELLOW, "You Must get a Truck and necessary Trailer to finish the mission!"); } return 0; }
  9. mai ai tu textdrawri care arata pe sv cand un player se conecteaza/deconecteaza.
  10. A da scz ma grabisem cand am scris ca trebuia sa plec.Sterge return 1 alea si pune in loc de if alea pune else if deoarece o sa iti zica ca nu ai ala atasat decat daca nu are ulimu trailer dala si la restu o sa iti faca ce ai scris acolo adr o sa ii si zica ca nu are atasat trailerul. in final codul e : //----Includes---- #include <a_samp> #include <a_players> #include <a_vehicles> //----End Includes---- //----Defines1---- #define COLOR_YELLOW 0xFFFF00AA #define COLOR_GREEN 0x33AA33AA //----End Defines---- public OnFilterScriptInit() { //----echo---- print("\n--------------------------------------"); print(" Truck Mod V1 by Ro_Perpentual"); print("--------------------------------------\n"); //----echo---- //----Map here---- CreateObject(3268, 1764.8146972656, 134.63073730469, 31.591743469238, 357, 0, 64); CreateObject(7238, 1769.18359375, 170.7783203125, 43.025672912598, 0, 2.999267578125, 159.99938964844); CreateObject(3259, 1800.1630859375, 134.51438903809, 33.044380187988, 0, 0, 340); CreateObject(3259, 1812.6193847656, 160.24678039551, 32.405586242676, 0, 0, 339.99938964844); CreateObject(3258, 1807.3881835938, 147.08117675781, 33.713649749756, 0, 0, 0); CreateObject(7317, 1788.5966796875, 122.3740234375, 38, 0, 0, 243.99536132813); CreateObject(3268, 1736.146484375, 148.6015625, 29.652599334717, 356.99523925781, 0, 63.995361328125); CreateObject(7102, 1818.7679443359, 128.4599609375, 35, 0, 0, 154); CreateObject(17020, 1703.1654052734, 146.91101074219, 33.305732727051, 0, 5, 68); CreateObject(10773, 1726.8638916016, 201.35404968262, 25.395853042603, 0, 350, 246); CreateObject(4100, 1732.4005126953, 125.94302368164, 32.599998474121, 0, 0, 296); CreateObject(4100, 1719.88671875, 131.5654296875, 32.532371520996, 0, 0, 295.99914550781); CreateObject(4100, 1765.5903320313, 113.1117401123, 34.220817565918, 0, 0, 303.99914550781); CreateObject(16337, 1756.7677001953, 114.47843933105, 32.799999237061, 0, 0, 68); CreateObject(16337, 1739.3115234375, 121.7255859375, 31.672515869141, 0, 0, 67.999877929688); //----End Map---- //----Spawn Trailers---- AddStaticVehicle (450, 1728.3317871094, 148.45733642578, 29.233751296997, 150, 3, 3); AddStaticVehicle (450, 1732.2622070313, 146.38159179688, 29.547168731689, 150, 3, 3); AddStaticVehicle (450, 1736.3986816406, 143.9832611084, 29.887237548828, 150, 3, 3); AddStaticVehicle (450, 1740.13671875, 141.59121704102, 30.205297470093, 150, 3, 3); AddStaticVehicle (450, 1757.6580810547, 135.89128112793, 31.224514007568, 150, 3, 3); AddStaticVehicle (450, 1762.0718994141, 134.2492980957, 31.4713363647, 150, 3, 3); AddStaticVehicle (450, 1766.1295166016, 132.1644744873, 31.72106552124, 150, 3, 3); AddStaticVehicle (450, 1770.2490234375, 129.78094482422, 31.981822967529, 150, 3, 3); //----End Spawn Trailers---- return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/truck", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, 1729.9500732422, 111.06327819824, 32); SendClientMessage(playerid, COLOR_YELLOW, "Now you are trucker"); SendClientMessage(playerid, COLOR_YELLOW, "Get a truck using '/car [Truck Name]' , pick a trailer and go to the red marker."); SendClientMessage(playerid, COLOR_YELLOW, "Available truck for this mission: Linerunner, Roadtrain, Tanker."); SendClientMessage(playerid, COLOR_YELLOW, "To paint your truck to company's color, type '/paint_truck'!"); SendClientMessage(playerid, COLOR_YELLOW, "If you want to stop the mission, type '/stop_truck'!"); SendClientMessage(playerid, COLOR_YELLOW, "For commands type /help_truck"); SetPlayerCheckpoint(playerid, 585.16296386719, 855.3798828125, -43.273166656494, 5); } if (strcmp("/paint_truck", cmdtext, true, 10) == 0) { new vehicle = GetPlayerVehicleID(playerid); ChangeVehicleColor(vehicle, 0, 3); } if (strcmp("/stop_truck", cmdtext, true, 10) == 0) { DisablePlayerCheckpoint(playerid); } if (strcmp("/help_truck", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COLOR_GREEN, "----------Truck Help----------"); SendClientMessage(playerid, COLOR_YELLOW, "'/car [Truck Name]' for spawn a truck. Trucks: Linerunner, Roadtrain, Tanker"); SendClientMessage(playerid, COLOR_YELLOW, "'/truck' for start truck mission, '/paint_truck' for paint truck, '/stop_truck' to stop truck mission"); } return 1; } public OnPlayerEnterCheckpoint(playerid) { if(IsTrailerAttachedToVehicle(403)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else if(IsTrailerAttachedToVehicle(515)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else if(IsTrailerAttachedToVehicle(514)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); } else { SendClientMessage(playerid, COLOR_YELLOW, "You Must get a Truck and necessary Trailer to finish the mission!"); } return 0; } public OnPlayerLeaveCheckpoint(playerid) { DisablePlayerCheckpoint(playerid); return 1; }
  11. Pai cred ca ai cam facut o greseala. Asa trebuie: if(IsTrailerAttachedToVehicle(403)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); return 1; } if(IsTrailerAttachedToVehicle(515)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); return 1; } if(IsTrailerAttachedToVehicle(514)) { SendClientMessage(playerid, COLOR_GREEN, "Mission Complete! +5.000$" ); GivePlayerMoney(playerid, 5000); return 1; } else { SendClientMessage(playerid, COLOR_YELLOW, "You Must get a Truck and necessary Trailer to finish the mission!"); return 1; } return 0; } Adica la sfarsitul functiei OnPlayerEnterCheckpoint pui return 0 si la celelalte trebuie sa pai return 1. PS:Nus bun deloc la explicatii asa ca DND:))
  12. Sterge ; dupa ifuri si la vehicleid pune deasupra new vehicleid = GetPlayerVehicleID(playerid); si o sa mearga
  13. Marfa harta dar ai nevoie de un auto repair ca sa rezisti mai mult de 5 secunde acolo
  14. Ce GM folosesti?SAu pune comanda /login
  15. Cp mia luat vreo 20 min sa il repar. 10 min sa incerc sa il refac ca nu stiam ce sa ii mai fac ) si apoi miam dat seama ca erau gresite culorile adica u ai scris COlOR_YELLOW peste tot si in define ai scris COLOR_YELLOW si numele la actiuni.Data viitoare verifica daca pui numele corect pe wiki.sa-mp.com. Vezi sa il incerci sa vezi daca merge ca nu lam testat...Si incearca sa il faci ca dialog ca e mai usor asa ;)
  16. Eu nu am auzit de mido object dar nar trebui sa fie un include?Dc lai pus la filterscripts??
  17. vezi ca acolo cand nu are bani la SendClientMessage ai uitat sa pui culoarea... AM REPARAT TOT. //*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$|$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$| //******************Bere si tigari *************|******************************| //**********************By DjAdy****************|##############################| //****************Inspirat din scriptul lui*****|&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&| //****************TeoThePlayer******************|++++++++++++++++++++++++++++++| //**$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*|______________________________| #include <a_samp> #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_ULTRARED 0xE60000FF #define COLOR_BLUE 0x0000BBAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define ADMIN_RED 0xFB0000FF #define COLOR_ORANGE 0xFF9900AA #define COLOR_RED 0xAA3333AA #define COLOR_LIME 0x10F441AA #define COLOR_MAGENTA 0xFF00FFFF public OnFilterScriptInit() { print("\n==================================="); print("==========Berea si tigarile=========="); print("=========au fost incarcate!=========="); print("===================================\n"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/timisoreana",true,10)==0) { if(GetPlayerMoney(playerid) >= 30) { GivePlayerMoney(playerid,-30); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1); SendClientMessage(playerid, COLOR_YELLOW,"Timisoreana te-a costat 30 de dolari!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext, "/skol",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid,-40); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1); SendClientMessage(playerid, COLOR_BLUE,"Skol te-a costat 40 de dolari"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext, "/bergenbier",true) == 0) { if(GetPlayerMoney(playerid)>=20) { GivePlayerMoney(playerid, -20); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1); SendClientMessage(playerid, COLOR_ORANGE,"Bergenbier tr-a costat 20 de dolari!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext, "/newmark", true) == 0) { if(GetPlayerMoney(playerid)>=30) { GivePlayerMoney(playerid, -30); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SendClientMessage(playerid, COLOR_MAGENTA,"Newmark te-a costat 30 de dolari!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext, "/Ursus", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1); SendClientMessage(playerid, COLOR_BLUE,"Ursus te-a costat 50 de dolari!~"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext,"/Goldenbraw",true) == 0) { if(GetPlayerMoney(playerid)>=20) { GivePlayerMoney(playerid, -20); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SendClientMessage(playerid, COLOR_RED,"Goldenbraw te-a costat 20 de dolari!"); } else { SendClientMessage(playerid,COLOR_ULTRARED,"Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext,"/Burger",true) == 0) { if(GetPlayerMoney(playerid)>=25) { GivePlayerMoney(playerid, -25); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER ); SendClientMessage(playerid, COLOR_BLUE,"Burger te-a costat 25 de dolari!"); } else { SendClientMessage(playerid,COLOR_RED,"Nu ai destui bani!"); } return 1; } //=====================================================================| // Smokes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!| //*********************************************************************| //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$| //#####################################################################| //_____________________________________________________________________| if(strcmp(cmdtext,"/LM", true,10) == 0) { if(GetPlayerMoney(playerid)>=20) { GivePlayerMoney(playerid, -20); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_BLUE,"LM te-a costat 20 de dolari"); } else { SendClientMessage(playerid, COLOR_ULTRARED,"Nu ai destui bani de tigari!"); } return 1; } if(strcmp(cmdtext,"/viceroy", true,10) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_LIME,"Acum fumezi Viceroy!"); } else { SendClientMessage(playerid,COLOR_RED, "Nu ai destui bani!"); } return 1; } if(strcmp(cmdtext,"/parliament", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_ORANGE,"Acum fumezi Parliament!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/kent8", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_BLUE,"Acum fumezi kent8!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/DunHill", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_RED,"Acum fumezi DunHill!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/PallMall", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_YELLOW,"Acum fumezi PallMall!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/SuperSlim", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_MAGENTA,"Acum fumezi ceva scurt !"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/Marlboro", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_MAGENTA,"Acum fumezi Marlboro!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/Joint", true) == 0) { if(GetPlayerMoney(playerid)>=50) { GivePlayerMoney(playerid, -50); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY); SendClientMessage(playerid,COLOR_MAGENTA,"Acum tragi un Joint!"); } else { SendClientMessage(playerid, COLOR_RED,"Nu ai destui bani saracule!"); } return 1; } if(strcmp(cmdtext,"/Heroina",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DUCK); } return 1; } if(strcmp(cmdtext,"/Cocaina",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DUCK); } return 1; } if(strcmp(cmdtext,"/Canabis",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DUCK); } return 1; } if(strcmp(cmdtext,"/marijuana",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DUCK); } return 1; } if(strcmp(cmdtext,"/ecstasy",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); } return 1; } if(strcmp(cmdtext,"/Crack",true) == 0) { if(GetPlayerMoney(playerid)>=40) { GivePlayerMoney(playerid, -40); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); SendClientMessage(playerid,COLOR_YELLOW,"Drogatule!"); } else { SendClientMessage(playerid,COLOR_RED,"Mah nu mai ai bani dute si mori in ***** matii"); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DUCK); } return 1; } return 0; }
  18. Am vazut ca multe gm-uri sunt puse in 2 limbi.Cum pot sa fac si eu asta?Am citit din alte gm-uri dar nu am inteles. Am rezolvat mia zis farse pe mess dati close/stergeti subiectul.
  19. mihai97

    First Track

    wow!Ai pus fiecare obiect acolo??? gj! +1 de la mn
  20. Cine are includeul acela va rog sa il postati aici ca nu ii erge sa-mp.com ms.
  21. A gasit eu o greseala Cand cuperi cafea te costa 3000. case 4: { TogglePlayerControllable(playerid,1); if (GetPlayerMoney(playerid) >= 3) { SetPlayerHealth(playerid,95); GivePlayerMoney(playerid, -3000); SendClientMessage(playerid,0x008080FF, " Tu ai cumparat cafea pentru 3 $");} } else { Si daca playerul are mai multa viata decat ii da produsul lui in loc sa-i creasca viata ii scade. Daca vrei sa nu mai faca asa pune acolo la SetPlayerHealth:SetPlayerHealth(playerid, GetPlayerHealth(playerid)+x); Unde x este cata viata sa ii dea in plus. Oricum gg pentru primul tau script!
×
×
  • 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.