Jump to content

[Funky]Anakin

Membru
  • Posts

    590
  • Joined

  • Last visited

    Never

Everything posted by [Funky]Anakin

  1. [glow=red,2,300]In limba Romana[/glow] Salut Astazi o sa prezint un tutorial unde se baga mapele fs-urile etc. La : Inceputul Gamemodului se definesc Obiectele comenzile cu : [pawn]#define name 1338 //Atentie poti modifica numarul daca coincide cu cel din GM[/pawn] [pawn]new name;[/pawn] [pawn]OnGameModeEditInit:[/pawn]Se pun : --Mapele ; --Textdrawurile ; --3D Texts ; --CreateDinamicObjects ; --Locul de spawn --Modul serverului (SetGameModeText("Romania|DM|Sumo|Fly|"); [pawn]OnPlayerConnect[/pawn]Se pun : --Mesaje de bun venit pe server .(Ex: SendClientMessage(playerid, 0xFFFFFFAA,"{00C0FF}***{FFFFFF}Salut Bine Ai Venit Pe {0049FF}Sa-Mp.RO"); [pawn]OnPlayerCommandText[/pawn] Se pun : --Comenzile serverului (Ex: /nrg /ad /pm) --Teleporturile [pawn]OnDialogResponse[/pawn] Se pun : --Dialoguri Cum te faci admin : --Intri in server.cfg tii minte parola dela rcon , intri in serverul tau scri in chat /rcon login [pass din server.cfg] si dai /setlevel .Bafta ) Sper sa va fie de folos. [glow=red,2,300]In English[/glow] Hi Sa-mp.ro .Today i present a tutorial where you put maps fs etc. In: Gamemodului start defining objects with commands: [pawn]#define name 1338 //Atentie poti modifica numarul daca coincide cu cel din GM[/pawn] [pawn]new name;[/pawn] [pawn]OnGameModeEditInit:[/pawn]We Put : --Maps; --Textdraws ; --3D Texts ; --CreateDinamicObjects ; --Spawn --Server mod (SetGameModeText("Romania|DM|Sumo|Fly|"); [pawn]OnPlayerConnect[/pawn]We Put --Welcome messages .(Ex: SendClientMessage(playerid, 0xFFFFFFAA,"{00C0FF}***{FFFFFF}Salut Bine Ai Venit Pe {0049FF}Sa-Mp.RO"); [pawn]OnDialogResponse[/pawn]We Put : --Dialogs That's mine tutorial. .::Allex::.
  2. Ma uita-te si tu la cate topicuri ai facut eu dau click pe Ajutor servere si te vad numai pe tine cu .Intra pe www.wiki-samp.com sau da un search pe Google
  3. Mai frumoasa ii masina )Frumoasa mapa. :cool:
  4. Ai sus la pawno un binoclu (search) .Apesi pe el si Introduci numele respectiv (Raven's RolePlay).Daca Vrei il stergi si dupa il inlocuiesti cu alt nume. Bafta :)
  5. MaTriX lasa un coment si zi daca merge.Eu am textdrawuri din aceste pe server.
  6. Da includele de la server. DE ex daca esti pe DCMD nu iti merg comenzile cu if .Incearca sa compilezi cu pawno 0.3d
  7. Am pus. De aparut imi apar in server dar nu se vad in lista de conectare a playerilor de ex sunt pe sv : -- XXXDAXXX -- Ionela --Butul Mie nu imi apar butii in lista asta imi apar pe server.
  8. Cel mai simplu baga-ti L.A.S. LuxAdmin. Scri pe google download LuxAdmin sa-mp. Ca daca vrei sa intre login si register trebuie sa faci comanda dar L.A.S. Are login si register inclus
  9. Daca vrei downloadeaza L.A.S. Este mai bun ca Ladmin4v2 sau rAdmin postat de un user pe sa-mp.ro ;)
  10. Oameni buni asta deschide la topicuri de nu mai poti .Eu i-am dat un reply cum sa i se saleveze credits vad ca nu a inteles.
  11. Intri in GM Si apesi F5 sau compile ai sus . Oau :shocked:
  12. Adaugam la inceputul fs-ului gm-ului [pawn]new Text:help2;[/pawn] Adaugam la OnGameModeEditInit [pawn]Textdraw0 = TextDrawCreate(136.000000, 149.000000, "."); TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 1); TextDrawLetterSize(Textdraw0, 0.020000, 28.000000); TextDrawColor(Textdraw0, -1); TextDrawSetOutline(Textdraw0, 0); TextDrawSetProportional(Textdraw0, 1); TextDrawSetShadow(Textdraw0, 1); TextDrawUseBox(Textdraw0, 1); TextDrawBoxColor(Textdraw0, 16843078); TextDrawTextSize(Textdraw0, 502.000000, -2.000000); Textdraw1 = TextDrawCreate(136.000000, 120.000000, "."); TextDrawBackgroundColor(Textdraw1, 255); TextDrawFont(Textdraw1, 2); TextDrawLetterSize(Textdraw1, 0.500000, 1.000000); TextDrawColor(Textdraw1, 255); TextDrawSetOutline(Textdraw1, 0); TextDrawSetProportional(Textdraw1, 1); TextDrawSetShadow(Textdraw1, 1); TextDrawUseBox(Textdraw1, 1); TextDrawBoxColor(Textdraw1, 255); TextDrawTextSize(Textdraw1, 502.000000, 0.000000); Textdraw2 = TextDrawCreate(288.000000, 117.000000, "HELP"); TextDrawBackgroundColor(Textdraw2, 255); TextDrawFont(Textdraw2, 2); TextDrawLetterSize(Textdraw2, 0.500000, 1.400000); TextDrawColor(Textdraw2, -65281); TextDrawSetOutline(Textdraw2, 1); TextDrawSetProportional(Textdraw2, 1); Textdraw3 = TextDrawCreate(136.000000, 134.000000, "."); TextDrawBackgroundColor(Textdraw3, 255); TextDrawFont(Textdraw3, 1); TextDrawLetterSize(Textdraw3, 0.020000, -0.600000); TextDrawColor(Textdraw3, -1); TextDrawSetOutline(Textdraw3, 0); TextDrawSetProportional(Textdraw3, 1); TextDrawSetShadow(Textdraw3, 1); TextDrawUseBox(Textdraw3, 1); TextDrawBoxColor(Textdraw3, 65535); TextDrawTextSize(Textdraw3, 502.000000, 0.000000); Textdraw4 = TextDrawCreate(136.000000, 406.000000, "."); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 1); TextDrawLetterSize(Textdraw4, 0.020000, -0.600000); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 0); TextDrawSetProportional(Textdraw4, 1); TextDrawSetShadow(Textdraw4, 1); TextDrawUseBox(Textdraw4, 1); TextDrawBoxColor(Textdraw4, 65535); TextDrawTextSize(Textdraw4, 502.000000, 0.000000); Textdraw5 = TextDrawCreate(136.000000, 119.000000, "."); TextDrawBackgroundColor(Textdraw5, 255); TextDrawFont(Textdraw5, 1); TextDrawLetterSize(Textdraw5, 0.020000, -0.600000); TextDrawColor(Textdraw5, -1); TextDrawSetOutline(Textdraw5, 0); TextDrawSetProportional(Textdraw5, 1); TextDrawSetShadow(Textdraw5, 1); TextDrawUseBox(Textdraw5, 1); TextDrawBoxColor(Textdraw5, 65535); TextDrawTextSize(Textdraw5, 502.000000, 0.000000); Textdraw6 = TextDrawCreate(134.000000, 114.000000, "I"); TextDrawBackgroundColor(Textdraw6, 255); TextDrawFont(Textdraw6, 1); TextDrawLetterSize(Textdraw6, 0.000000, 35.599983); TextDrawColor(Textdraw6, -1); TextDrawSetOutline(Textdraw6, 0); TextDrawSetProportional(Textdraw6, 1); TextDrawSetShadow(Textdraw6, 1); TextDrawUseBox(Textdraw6, 1); TextDrawBoxColor(Textdraw6, 65535); TextDrawTextSize(Textdraw6, 130.000000, 0.000000); Textdraw7 = TextDrawCreate(511.000000, 118.000000, "I"); TextDrawBackgroundColor(Textdraw7, 255); TextDrawFont(Textdraw7, 1); TextDrawLetterSize(Textdraw7, -0.009999, 35.199977); TextDrawColor(Textdraw7, -1); TextDrawSetOutline(Textdraw7, 0); TextDrawSetProportional(Textdraw7, 1); TextDrawSetShadow(Textdraw7, 1); TextDrawUseBox(Textdraw7, 1); TextDrawBoxColor(Textdraw7, 65535); TextDrawTextSize(Textdraw7, 501.000000, 0.000000); Textdraw8 = TextDrawCreate(146.000000, 134.000000, "ACCOUNT"); TextDrawBackgroundColor(Textdraw8, 255); TextDrawFont(Textdraw8, 2); TextDrawLetterSize(Textdraw8, 0.240000, 1.200000); TextDrawColor(Textdraw8, -16776961); TextDrawSetOutline(Textdraw8, 0); TextDrawSetProportional(Textdraw8, 1); TextDrawSetShadow(Textdraw8, 1); Textdraw9 = TextDrawCreate(233.000000, 134.000000, "GENERAL"); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 2); TextDrawLetterSize(Textdraw9, 0.240000, 1.200000); TextDrawColor(Textdraw9, -16776961); TextDrawSetOutline(Textdraw9, 0); TextDrawSetProportional(Textdraw9, 1); TextDrawSetShadow(Textdraw9, 1); Textdraw10 = TextDrawCreate(314.000000, 134.000000, "CHAT"); TextDrawBackgroundColor(Textdraw10, 255); TextDrawFont(Textdraw10, 2); TextDrawLetterSize(Textdraw10, 0.240000, 1.200000); TextDrawColor(Textdraw10, -16776961); TextDrawSetOutline(Textdraw10, 0); TextDrawSetProportional(Textdraw10, 1); TextDrawSetShadow(Textdraw10, 1); Textdraw11 = TextDrawCreate(379.000000, 134.000000, "BANK"); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 2); TextDrawLetterSize(Textdraw11, 0.240000, 1.200000); TextDrawColor(Textdraw11, -16776961); TextDrawSetOutline(Textdraw11, 0); TextDrawSetProportional(Textdraw11, 1); TextDrawSetShadow(Textdraw11, 1); Textdraw12 = TextDrawCreate(450.000000, 134.000000, "OTHER"); TextDrawBackgroundColor(Textdraw12, 255); TextDrawFont(Textdraw12, 2); TextDrawLetterSize(Textdraw12, 0.240000, 1.200000); TextDrawColor(Textdraw12, -16776961); TextDrawSetOutline(Textdraw12, 0); TextDrawSetProportional(Textdraw12, 1); TextDrawSetShadow(Textdraw12, 1); Textdraw13 = TextDrawCreate(136.000000, 149.000000, "."); TextDrawBackgroundColor(Textdraw13, 255); TextDrawFont(Textdraw13, 1); TextDrawLetterSize(Textdraw13, 0.020000, -0.500000); TextDrawColor(Textdraw13, -1); TextDrawSetOutline(Textdraw13, 0); TextDrawSetProportional(Textdraw13, 1); TextDrawSetShadow(Textdraw13, 1); TextDrawUseBox(Textdraw13, 1); TextDrawBoxColor(Textdraw13, 65535); TextDrawTextSize(Textdraw13, 502.000000, 0.000000); Textdraw14 = TextDrawCreate(214.000000, 134.000000, "."); TextDrawBackgroundColor(Textdraw14, 255); TextDrawFont(Textdraw14, 1); TextDrawLetterSize(Textdraw14, 0.010000, 29.600013); TextDrawColor(Textdraw14, -1); TextDrawSetOutline(Textdraw14, 0); TextDrawSetProportional(Textdraw14, 1); TextDrawSetShadow(Textdraw14, 1); TextDrawUseBox(Textdraw14, 1); TextDrawBoxColor(Textdraw14, 65535); TextDrawTextSize(Textdraw14, 209.000000, 0.000000); Textdraw15 = TextDrawCreate(296.000000, 134.000000, "."); TextDrawBackgroundColor(Textdraw15, 255); TextDrawFont(Textdraw15, 1); TextDrawLetterSize(Textdraw15, 0.060000, 29.500017); TextDrawColor(Textdraw15, -1); TextDrawSetOutline(Textdraw15, 0); TextDrawSetProportional(Textdraw15, 1); TextDrawSetShadow(Textdraw15, 1); TextDrawUseBox(Textdraw15, 1); TextDrawBoxColor(Textdraw15, 65535); TextDrawTextSize(Textdraw15, 291.000000, 0.000000); Textdraw16 = TextDrawCreate(365.000000, 134.000000, "."); TextDrawBackgroundColor(Textdraw16, 255); TextDrawFont(Textdraw16, 1); TextDrawLetterSize(Textdraw16, 0.010000, 29.500013); TextDrawColor(Textdraw16, -1); TextDrawSetOutline(Textdraw16, 0); TextDrawSetProportional(Textdraw16, 1); TextDrawSetShadow(Textdraw16, 1); TextDrawUseBox(Textdraw16, 1); TextDrawBoxColor(Textdraw16, 65535); TextDrawTextSize(Textdraw16, 357.000000, 0.000000); Textdraw17 = TextDrawCreate(434.000000, 135.000000, "."); TextDrawBackgroundColor(Textdraw17, 255); TextDrawFont(Textdraw17, 1); TextDrawLetterSize(Textdraw17, 0.000000, 29.400012); TextDrawColor(Textdraw17, -1); TextDrawSetOutline(Textdraw17, 0); TextDrawSetProportional(Textdraw17, 1); TextDrawSetShadow(Textdraw17, 1); TextDrawUseBox(Textdraw17, 1); TextDrawBoxColor(Textdraw17, 65535); TextDrawTextSize(Textdraw17, 426.000000, 0.000000); Textdraw18 = TextDrawCreate(139.000000, 149.000000, "/RULES"); TextDrawBackgroundColor(Textdraw18, 255); TextDrawFont(Textdraw18, 2); TextDrawLetterSize(Textdraw18, 0.200000, 1.100000); TextDrawColor(Textdraw18, -1); TextDrawSetOutline(Textdraw18, 0); TextDrawSetProportional(Textdraw18, 1); TextDrawSetShadow(Textdraw18, 1); Textdraw19 = TextDrawCreate(139.000000, 161.000000, "/STATS"); TextDrawBackgroundColor(Textdraw19, 255); TextDrawFont(Textdraw19, 2); TextDrawLetterSize(Textdraw19, 0.200000, 1.100000); TextDrawColor(Textdraw19, -1); TextDrawSetOutline(Textdraw19, 0); TextDrawSetProportional(Textdraw19, 1); TextDrawSetShadow(Textdraw19, 1); Textdraw20 = TextDrawCreate(139.000000, 173.000000, "/CHANGEPASS"); TextDrawBackgroundColor(Textdraw20, 255); TextDrawFont(Textdraw20, 2); TextDrawLetterSize(Textdraw20, 0.200000, 1.100000); TextDrawColor(Textdraw20, -1); TextDrawSetOutline(Textdraw20, 0); TextDrawSetProportional(Textdraw20, 1); TextDrawSetShadow(Textdraw20, 1); Textdraw21 = TextDrawCreate(139.000000, 186.000000, "/LEVELUP"); TextDrawBackgroundColor(Textdraw21, 255); TextDrawFont(Textdraw21, 2); TextDrawLetterSize(Textdraw21, 0.200000, 1.100000); TextDrawColor(Textdraw21, -1); TextDrawSetOutline(Textdraw21, 0); TextDrawSetProportional(Textdraw21, 1); TextDrawSetShadow(Textdraw21, 1); Textdraw22 = TextDrawCreate(139.000000, 199.000000, "/UPGRADE"); TextDrawBackgroundColor(Textdraw22, 255); TextDrawFont(Textdraw22, 2); TextDrawLetterSize(Textdraw22, 0.200000, 1.100000); TextDrawColor(Textdraw22, -1); TextDrawSetOutline(Textdraw22, 0); TextDrawSetProportional(Textdraw22, 1); TextDrawSetShadow(Textdraw22, 1); Textdraw23 = TextDrawCreate(139.000000, 211.000000, "/FORUM"); TextDrawBackgroundColor(Textdraw23, 255); TextDrawFont(Textdraw23, 2); TextDrawLetterSize(Textdraw23, 0.200000, 1.100000); TextDrawColor(Textdraw23, -1); TextDrawSetOutline(Textdraw23, 0); TextDrawSetProportional(Textdraw23, 1); TextDrawSetShadow(Textdraw23, 1); Textdraw24 = TextDrawCreate(221.000000, 149.000000, "/PAY"); TextDrawBackgroundColor(Textdraw24, 255); TextDrawFont(Textdraw24, 2); TextDrawLetterSize(Textdraw24, 0.200000, 1.100000); TextDrawColor(Textdraw24, -1); TextDrawSetOutline(Textdraw24, 0); TextDrawSetProportional(Textdraw24, 1); TextDrawSetShadow(Textdraw24, 1); Textdraw25 = TextDrawCreate(221.000000, 158.000000, "/BUY"); TextDrawBackgroundColor(Textdraw25, 255); TextDrawFont(Textdraw25, 2); TextDrawLetterSize(Textdraw25, 0.200000, 1.100000); TextDrawColor(Textdraw25, -1); TextDrawSetOutline(Textdraw25, 0); TextDrawSetProportional(Textdraw25, 1); TextDrawSetShadow(Textdraw25, 1); Textdraw26 = TextDrawCreate(221.000000, 167.000000, "/TIME"); TextDrawBackgroundColor(Textdraw26, 255); TextDrawFont(Textdraw26, 2); TextDrawLetterSize(Textdraw26, 0.200000, 1.100000); TextDrawColor(Textdraw26, -1); TextDrawSetOutline(Textdraw26, 0); TextDrawSetProportional(Textdraw26, 1); TextDrawSetShadow(Textdraw26, 1); Textdraw27 = TextDrawCreate(221.000000, 176.000000, "/CHARITY"); TextDrawBackgroundColor(Textdraw27, 255); TextDrawFont(Textdraw27, 2); TextDrawLetterSize(Textdraw27, 0.200000, 1.100000); TextDrawColor(Textdraw27, -1); TextDrawSetOutline(Textdraw27, 0); TextDrawSetProportional(Textdraw27, 1); TextDrawSetShadow(Textdraw27, 1); Textdraw28 = TextDrawCreate(221.000000, 185.000000, "/UNRENTCAR"); TextDrawBackgroundColor(Textdraw28, 255); TextDrawFont(Textdraw28, 2); TextDrawLetterSize(Textdraw28, 0.200000, 1.100000); TextDrawColor(Textdraw28, -1); TextDrawSetOutline(Textdraw28, 0); TextDrawSetProportional(Textdraw28, 1); TextDrawSetShadow(Textdraw28, 1); Textdraw29 = TextDrawCreate(221.000000, 194.000000, "/UNRENTBIKE"); TextDrawBackgroundColor(Textdraw29, 255); TextDrawFont(Textdraw29, 2); TextDrawLetterSize(Textdraw29, 0.200000, 1.100000); TextDrawColor(Textdraw29, -1); TextDrawSetOutline(Textdraw29, 0); TextDrawSetProportional(Textdraw29, 1); TextDrawSetShadow(Textdraw29, 1); Textdraw30 = TextDrawCreate(221.000000, 203.000000, "/SKILL"); TextDrawBackgroundColor(Textdraw30, 255); TextDrawFont(Textdraw30, 2); TextDrawLetterSize(Textdraw30, 0.200000, 1.100000); TextDrawColor(Textdraw30, -1); TextDrawSetOutline(Textdraw30, 0); TextDrawSetProportional(Textdraw30, 1); TextDrawSetShadow(Textdraw30, 1); Textdraw31 = TextDrawCreate(221.000000, 211.000000, "/RESETUPGRADES"); TextDrawBackgroundColor(Textdraw31, 255); TextDrawFont(Textdraw31, 2); TextDrawLetterSize(Textdraw31, 0.200000, 1.100000); TextDrawColor(Textdraw31, -1); TextDrawSetOutline(Textdraw31, 0); TextDrawSetProportional(Textdraw31, 1); TextDrawSetShadow(Textdraw31, 1); Textdraw32 = TextDrawCreate(221.000000, 219.000000, "/BUYGUN"); TextDrawBackgroundColor(Textdraw32, 255); TextDrawFont(Textdraw32, 2); TextDrawLetterSize(Textdraw32, 0.200000, 1.100000); TextDrawColor(Textdraw32, -1); TextDrawSetOutline(Textdraw32, 0); TextDrawSetProportional(Textdraw32, 1); TextDrawSetShadow(Textdraw32, 1); Textdraw33 = TextDrawCreate(221.000000, 228.000000, "/LICENSES"); TextDrawBackgroundColor(Textdraw33, 255); TextDrawFont(Textdraw33, 2); TextDrawLetterSize(Textdraw33, 0.200000, 1.100000); TextDrawColor(Textdraw33, -1); TextDrawSetOutline(Textdraw33, 0); TextDrawSetProportional(Textdraw33, 1); TextDrawSetShadow(Textdraw33, 1); Textdraw34 = TextDrawCreate(221.000000, 236.000000, "/FILL"); TextDrawBackgroundColor(Textdraw34, 255); TextDrawFont(Textdraw34, 2); TextDrawLetterSize(Textdraw34, 0.200000, 1.100000); TextDrawColor(Textdraw34, -1); TextDrawSetOutline(Textdraw34, 0); TextDrawSetProportional(Textdraw34, 1); TextDrawSetShadow(Textdraw34, 1); Textdraw35 = TextDrawCreate(221.000000, 244.000000, "/CONTRACT"); TextDrawBackgroundColor(Textdraw35, 255); TextDrawFont(Textdraw35, 2); TextDrawLetterSize(Textdraw35, 0.200000, 1.100000); TextDrawColor(Textdraw35, -1); TextDrawSetOutline(Textdraw35, 0); TextDrawSetProportional(Textdraw35, 1); TextDrawSetShadow(Textdraw35, 1); Textdraw36 = TextDrawCreate(221.000000, 252.000000, "/SHOWLICENSES"); TextDrawBackgroundColor(Textdraw36, 255); TextDrawFont(Textdraw36, 2); TextDrawLetterSize(Textdraw36, 0.200000, 1.100000); TextDrawColor(Textdraw36, -1); TextDrawSetOutline(Textdraw36, 0); TextDrawSetProportional(Textdraw36, 1); TextDrawSetShadow(Textdraw36, 1); Textdraw37 = TextDrawCreate(221.000000, 260.000000, "/REPORT"); TextDrawBackgroundColor(Textdraw37, 255); TextDrawFont(Textdraw37, 2); TextDrawLetterSize(Textdraw37, 0.200000, 1.100000); TextDrawColor(Textdraw37, -1); TextDrawSetOutline(Textdraw37, 0); TextDrawSetProportional(Textdraw37, 1); TextDrawSetShadow(Textdraw37, 1); Textdraw38 = TextDrawCreate(221.000000, 268.000000, "/ANIMLIST"); TextDrawBackgroundColor(Textdraw38, 255); TextDrawFont(Textdraw38, 2); TextDrawLetterSize(Textdraw38, 0.200000, 1.100000); TextDrawColor(Textdraw38, -1); TextDrawSetOutline(Textdraw38, 0); TextDrawSetProportional(Textdraw38, 1); TextDrawSetShadow(Textdraw38, 1); Textdraw39 = TextDrawCreate(221.000000, 276.000000, "/STOPANIM"); TextDrawBackgroundColor(Textdraw39, 255); TextDrawFont(Textdraw39, 2); TextDrawLetterSize(Textdraw39, 0.200000, 1.100000); TextDrawColor(Textdraw39, -1); TextDrawSetOutline(Textdraw39, 0); TextDrawSetProportional(Textdraw39, 1); TextDrawSetShadow(Textdraw39, 1); Textdraw40 = TextDrawCreate(221.000000, 284.000000, "/ADMINS"); TextDrawBackgroundColor(Textdraw40, 255); TextDrawFont(Textdraw40, 2); TextDrawLetterSize(Textdraw40, 0.200000, 1.100000); TextDrawColor(Textdraw40, -1); TextDrawSetOutline(Textdraw40, 0); TextDrawSetProportional(Textdraw40, 1); TextDrawSetShadow(Textdraw40, 1); Textdraw41 = TextDrawCreate(221.000000, 292.000000, "/ASISTENTS"); TextDrawBackgroundColor(Textdraw41, 255); TextDrawFont(Textdraw41, 2); TextDrawLetterSize(Textdraw41, 0.200000, 1.100000); TextDrawColor(Textdraw41, -1); TextDrawSetOutline(Textdraw41, 0); TextDrawSetProportional(Textdraw41, 1); TextDrawSetShadow(Textdraw41, 1); Textdraw42 = TextDrawCreate(221.000000, 301.000000, "/DRINK"); TextDrawBackgroundColor(Textdraw42, 255); TextDrawFont(Textdraw42, 2); TextDrawLetterSize(Textdraw42, 0.200000, 1.100000); TextDrawColor(Textdraw42, -1); TextDrawSetOutline(Textdraw42, 0); TextDrawSetProportional(Textdraw42, 1); TextDrawSetShadow(Textdraw42, 1); Textdraw43 = TextDrawCreate(221.000000, 309.000000, "/FUEL"); TextDrawBackgroundColor(Textdraw43, 255); TextDrawFont(Textdraw43, 2); TextDrawLetterSize(Textdraw43, 0.200000, 1.100000); TextDrawColor(Textdraw43, -1); TextDrawSetOutline(Textdraw43, 0); TextDrawSetProportional(Textdraw43, 1); TextDrawSetShadow(Textdraw43, 1); Textdraw44 = TextDrawCreate(221.000000, 317.000000, "/ACCEPT"); TextDrawBackgroundColor(Textdraw44, 255); TextDrawFont(Textdraw44, 2); TextDrawLetterSize(Textdraw44, 0.200000, 1.100000); TextDrawColor(Textdraw44, -1); TextDrawSetOutline(Textdraw44, 0); TextDrawSetProportional(Textdraw44, 1); TextDrawSetShadow(Textdraw44, 1); Textdraw45 = TextDrawCreate(221.000000, 325.000000, "/CANCEL"); TextDrawBackgroundColor(Textdraw45, 255); TextDrawFont(Textdraw45, 2); TextDrawLetterSize(Textdraw45, 0.200000, 1.100000); TextDrawColor(Textdraw45, -1); TextDrawSetOutline(Textdraw45, 0); TextDrawSetProportional(Textdraw45, 1); TextDrawSetShadow(Textdraw45, 1); Textdraw46 = TextDrawCreate(221.000000, 333.000000, "/EJECT"); TextDrawBackgroundColor(Textdraw46, 255); TextDrawFont(Textdraw46, 2); TextDrawLetterSize(Textdraw46, 0.200000, 1.100000); TextDrawColor(Textdraw46, -1); TextDrawSetOutline(Textdraw46, 0); TextDrawSetProportional(Textdraw46, 1); TextDrawSetShadow(Textdraw46, 1); Textdraw47 = TextDrawCreate(221.000000, 341.000000, "/USEDRUGS"); TextDrawBackgroundColor(Textdraw47, 255); TextDrawFont(Textdraw47, 2); TextDrawLetterSize(Textdraw47, 0.200000, 1.100000); TextDrawColor(Textdraw47, -1); TextDrawSetOutline(Textdraw47, 0); TextDrawSetProportional(Textdraw47, 1); TextDrawSetShadow(Textdraw47, 1); Textdraw48 = TextDrawCreate(221.000000, 349.000000, "/SMOKE"); TextDrawBackgroundColor(Textdraw48, 255); TextDrawFont(Textdraw48, 2); TextDrawLetterSize(Textdraw48, 0.200000, 1.100000); TextDrawColor(Textdraw48, -1); TextDrawSetOutline(Textdraw48, 0); TextDrawSetProportional(Textdraw48, 1); TextDrawSetShadow(Textdraw48, 1); Textdraw49 = TextDrawCreate(221.000000, 357.000000, "/COIN"); TextDrawBackgroundColor(Textdraw49, 255); TextDrawFont(Textdraw49, 2); TextDrawLetterSize(Textdraw49, 0.200000, 1.100000); TextDrawColor(Textdraw49, -1); TextDrawSetOutline(Textdraw49, 0); TextDrawSetProportional(Textdraw49, 1); TextDrawSetShadow(Textdraw49, 1); Textdraw50 = TextDrawCreate(221.000000, 366.000000, "/ID"); TextDrawBackgroundColor(Textdraw50, 255); TextDrawFont(Textdraw50, 2); TextDrawLetterSize(Textdraw50, 0.200000, 1.100000); TextDrawColor(Textdraw50, -1); TextDrawSetOutline(Textdraw50, 0); TextDrawSetProportional(Textdraw50, 1); TextDrawSetShadow(Textdraw50, 1); Textdraw51 = TextDrawCreate(221.000000, 374.000000, "/SWITCHKEY"); TextDrawBackgroundColor(Textdraw51, 255); TextDrawFont(Textdraw51, 2); TextDrawLetterSize(Textdraw51, 0.200000, 1.100000); TextDrawColor(Textdraw51, -1); TextDrawSetOutline(Textdraw51, 0); TextDrawSetProportional(Textdraw51, 1); TextDrawSetShadow(Textdraw51, 1); Textdraw52 = TextDrawCreate(221.000000, 382.000000, "/GIVE"); TextDrawBackgroundColor(Textdraw52, 255); TextDrawFont(Textdraw52, 2); TextDrawLetterSize(Textdraw52, 0.200000, 1.100000); TextDrawColor(Textdraw52, -1); TextDrawSetOutline(Textdraw52, 0); TextDrawSetProportional(Textdraw52, 1); TextDrawSetShadow(Textdraw52, 1); Textdraw53 = TextDrawCreate(221.000000, 390.000000, "/INVENTORY"); TextDrawBackgroundColor(Textdraw53, 255); TextDrawFont(Textdraw53, 2); TextDrawLetterSize(Textdraw53, 0.200000, 1.100000); TextDrawColor(Textdraw53, -1); TextDrawSetOutline(Textdraw53, 0); TextDrawSetProportional(Textdraw53, 1); TextDrawSetShadow(Textdraw53, 1); Textdraw54 = TextDrawCreate(301.000000, 149.000000, "(/P)ME"); TextDrawBackgroundColor(Textdraw54, 255); TextDrawFont(Textdraw54, 2); TextDrawLetterSize(Textdraw54, 0.200000, 1.100000); TextDrawColor(Textdraw54, -1); TextDrawSetOutline(Textdraw54, 0); TextDrawSetProportional(Textdraw54, 1); TextDrawSetShadow(Textdraw54, 1); Textdraw55 = TextDrawCreate(301.000000, 158.000000, "(/CW)HISPER"); TextDrawBackgroundColor(Textdraw55, 255); TextDrawFont(Textdraw55, 2); TextDrawLetterSize(Textdraw55, 0.200000, 1.100000); TextDrawColor(Textdraw55, -1); TextDrawSetOutline(Textdraw55, 0); TextDrawSetProportional(Textdraw55, 1); TextDrawSetShadow(Textdraw55, 1); Textdraw56 = TextDrawCreate(301.000000, 167.000000, "(/O)OC"); TextDrawBackgroundColor(Textdraw56, 255); TextDrawFont(Textdraw56, 2); TextDrawLetterSize(Textdraw56, 0.200000, 1.100000); TextDrawColor(Textdraw56, -1); TextDrawSetOutline(Textdraw56, 0); TextDrawSetProportional(Textdraw56, 1); TextDrawSetShadow(Textdraw56, 1); Textdraw57 = TextDrawCreate(301.000000, 176.000000, "(/S)HOUT"); TextDrawBackgroundColor(Textdraw57, 255); TextDrawFont(Textdraw57, 2); TextDrawLetterSize(Textdraw57, 0.200000, 1.100000); TextDrawColor(Textdraw57, -1); TextDrawSetOutline(Textdraw57, 0); TextDrawSetProportional(Textdraw57, 1); TextDrawSetShadow(Textdraw57, 1); Textdraw58 = TextDrawCreate(301.000000, 185.000000, "/ME"); TextDrawBackgroundColor(Textdraw58, 255); TextDrawFont(Textdraw58, 2); TextDrawLetterSize(Textdraw58, 0.200000, 1.100000); TextDrawColor(Textdraw58, -1); TextDrawSetOutline(Textdraw58, 0); TextDrawSetProportional(Textdraw58, 1); TextDrawSetShadow(Textdraw58, 1); Textdraw59 = TextDrawCreate(301.000000, 193.000000, "/DO"); TextDrawBackgroundColor(Textdraw59, 255); TextDrawFont(Textdraw59, 2); TextDrawLetterSize(Textdraw59, 0.200000, 1.100000); TextDrawColor(Textdraw59, -1); TextDrawSetOutline(Textdraw59, 0); TextDrawSetProportional(Textdraw59, 1); TextDrawSetShadow(Textdraw59, 1); Textdraw60 = TextDrawCreate(301.000000, 201.000000, "/B"); TextDrawBackgroundColor(Textdraw60, 255); TextDrawFont(Textdraw60, 2); TextDrawLetterSize(Textdraw60, 0.200000, 1.100000); TextDrawColor(Textdraw60, -1); TextDrawSetOutline(Textdraw60, 0); TextDrawSetProportional(Textdraw60, 1); TextDrawSetShadow(Textdraw60, 1); Textdraw61 = TextDrawCreate(301.000000, 209.000000, "(/F)ACTION"); TextDrawBackgroundColor(Textdraw61, 255); TextDrawFont(Textdraw61, 2); TextDrawLetterSize(Textdraw61, 0.200000, 1.100000); TextDrawColor(Textdraw61, -1); TextDrawSetOutline(Textdraw61, 0); TextDrawSetProportional(Textdraw61, 1); TextDrawSetShadow(Textdraw61, 1); Textdraw62 = TextDrawCreate(301.000000, 218.000000, "/TOGOOC"); TextDrawBackgroundColor(Textdraw62, 255); TextDrawFont(Textdraw62, 2); TextDrawLetterSize(Textdraw62, 0.200000, 1.100000); TextDrawColor(Textdraw62, -1); TextDrawSetOutline(Textdraw62, 0); TextDrawSetProportional(Textdraw62, 1); TextDrawSetShadow(Textdraw62, 1); Textdraw63 = TextDrawCreate(301.000000, 227.000000, "/TOGNEWS"); TextDrawBackgroundColor(Textdraw63, 255); TextDrawFont(Textdraw63, 2); TextDrawLetterSize(Textdraw63, 0.200000, 1.100000); TextDrawColor(Textdraw63, -1); TextDrawSetOutline(Textdraw63, 0); TextDrawSetProportional(Textdraw63, 1); TextDrawSetShadow(Textdraw63, 1); Textdraw64 = TextDrawCreate(301.000000, 236.000000, "/TOGPHONE"); TextDrawBackgroundColor(Textdraw64, 255); TextDrawFont(Textdraw64, 2); TextDrawLetterSize(Textdraw64, 0.200000, 1.100000); TextDrawColor(Textdraw64, -1); TextDrawSetOutline(Textdraw64, 0); TextDrawSetProportional(Textdraw64, 1); TextDrawSetShadow(Textdraw64, 1); Textdraw65 = TextDrawCreate(301.000000, 244.000000, "/TOGFAM"); TextDrawBackgroundColor(Textdraw65, 255); TextDrawFont(Textdraw65, 2); TextDrawLetterSize(Textdraw65, 0.200000, 1.100000); TextDrawColor(Textdraw65, -1); TextDrawSetOutline(Textdraw65, 0); TextDrawSetProportional(Textdraw65, 1); TextDrawSetShadow(Textdraw65, 1); Textdraw66 = TextDrawCreate(301.000000, 253.000000, "/TOGPM"); TextDrawBackgroundColor(Textdraw66, 255); TextDrawFont(Textdraw66, 2); TextDrawLetterSize(Textdraw66, 0.200000, 1.100000); TextDrawColor(Textdraw66, -1); TextDrawSetOutline(Textdraw66, 0); TextDrawSetProportional(Textdraw66, 1); TextDrawSetShadow(Textdraw66, 1); Textdraw67 = TextDrawCreate(301.000000, 261.000000, "/LOW"); TextDrawBackgroundColor(Textdraw67, 255); TextDrawFont(Textdraw67, 2); TextDrawLetterSize(Textdraw67, 0.200000, 1.100000); TextDrawColor(Textdraw67, -1); TextDrawSetOutline(Textdraw67, 0); TextDrawSetProportional(Textdraw67, 1); TextDrawSetShadow(Textdraw67, 1); Textdraw68 = TextDrawCreate(371.000000, 149.000000, "/DEPOSIT"); TextDrawBackgroundColor(Textdraw68, 255); TextDrawFont(Textdraw68, 2); TextDrawLetterSize(Textdraw68, 0.200000, 1.100000); TextDrawColor(Textdraw68, -1); TextDrawSetOutline(Textdraw68, 0); TextDrawSetProportional(Textdraw68, 1); TextDrawSetShadow(Textdraw68, 1); Textdraw69 = TextDrawCreate(371.000000, 158.000000, "/TRANSFER"); TextDrawBackgroundColor(Textdraw69, 255); TextDrawFont(Textdraw69, 2); TextDrawLetterSize(Textdraw69, 0.200000, 1.100000); TextDrawColor(Textdraw69, -1); TextDrawSetOutline(Textdraw69, 0); TextDrawSetProportional(Textdraw69, 1); TextDrawSetShadow(Textdraw69, 1); Textdraw70 = TextDrawCreate(371.000000, 166.000000, "/WITHDRAW"); TextDrawBackgroundColor(Textdraw70, 255); TextDrawFont(Textdraw70, 2); TextDrawLetterSize(Textdraw70, 0.200000, 1.100000); TextDrawColor(Textdraw70, -1); TextDrawSetOutline(Textdraw70, 0); TextDrawSetProportional(Textdraw70, 1); TextDrawSetShadow(Textdraw70, 1); Textdraw71 = TextDrawCreate(371.000000, 174.000000, "/BALANCE"); TextDrawBackgroundColor(Textdraw71, 255); TextDrawFont(Textdraw71, 2); TextDrawLetterSize(Textdraw71, 0.200000, 1.100000); TextDrawColor(Textdraw71, -1); TextDrawSetOutline(Textdraw71, 0); TextDrawSetProportional(Textdraw71, 1); TextDrawSetShadow(Textdraw71, 1); Textdraw72 = TextDrawCreate(371.000000, 182.000000, "/IMPRUMUT"); TextDrawBackgroundColor(Textdraw72, 255); TextDrawFont(Textdraw72, 2); TextDrawLetterSize(Textdraw72, 0.200000, 1.100000); TextDrawColor(Textdraw72, -1); TextDrawSetOutline(Textdraw72, 0); TextDrawSetProportional(Textdraw72, 1); TextDrawSetShadow(Textdraw72, 1); Textdraw73 = TextDrawCreate(371.000000, 190.000000, "/ACHITA"); TextDrawBackgroundColor(Textdraw73, 255); TextDrawFont(Textdraw73, 2); TextDrawLetterSize(Textdraw73, 0.200000, 1.100000); TextDrawColor(Textdraw73, -1); TextDrawSetOutline(Textdraw73, 0); TextDrawSetProportional(Textdraw73, 1); TextDrawSetShadow(Textdraw73, 1); Textdraw74 = TextDrawCreate(432.000000, 149.000000, "/CELLPHONEHELP"); TextDrawBackgroundColor(Textdraw74, 255); TextDrawFont(Textdraw74, 2); TextDrawLetterSize(Textdraw74, 0.200000, 1.100000); TextDrawColor(Textdraw74, -1); TextDrawSetOutline(Textdraw74, 0); TextDrawSetProportional(Textdraw74, 1); TextDrawSetShadow(Textdraw74, 1); Textdraw75 = TextDrawCreate(432.000000, 157.000000, "/HOUSEHELP"); TextDrawBackgroundColor(Textdraw75, 255); TextDrawFont(Textdraw75, 2); TextDrawLetterSize(Textdraw75, 0.200000, 1.100000); TextDrawColor(Textdraw75, -1); TextDrawSetOutline(Textdraw75, 0); TextDrawSetProportional(Textdraw75, 1); TextDrawSetShadow(Textdraw75, 1); Textdraw76 = TextDrawCreate(432.000000, 165.000000, "/BUSINESSHELP"); TextDrawBackgroundColor(Textdraw76, 255); TextDrawFont(Textdraw76, 2); TextDrawLetterSize(Textdraw76, 0.200000, 1.100000); TextDrawColor(Textdraw76, -1); TextDrawSetOutline(Textdraw76, 0); TextDrawSetProportional(Textdraw76, 1); TextDrawSetShadow(Textdraw76, 1); Textdraw77 = TextDrawCreate(432.000000, 174.000000, "/CARHELP"); TextDrawBackgroundColor(Textdraw77, 255); TextDrawFont(Textdraw77, 2); TextDrawLetterSize(Textdraw77, 0.200000, 1.100000); TextDrawColor(Textdraw77, -1); TextDrawSetOutline(Textdraw77, 0); TextDrawSetProportional(Textdraw77, 1); TextDrawSetShadow(Textdraw77, 1); Textdraw78 = TextDrawCreate(432.000000, 182.000000, "/RENTHELP"); TextDrawBackgroundColor(Textdraw78, 255); TextDrawFont(Textdraw78, 2); TextDrawLetterSize(Textdraw78, 0.200000, 1.100000); TextDrawColor(Textdraw78, -1); TextDrawSetOutline(Textdraw78, 0); TextDrawSetProportional(Textdraw78, 1); TextDrawSetShadow(Textdraw78, 1); Textdraw79 = TextDrawCreate(432.000000, 190.000000, "/LEADERHELP"); TextDrawBackgroundColor(Textdraw79, 255); TextDrawFont(Textdraw79, 2); TextDrawLetterSize(Textdraw79, 0.200000, 1.100000); TextDrawColor(Textdraw79, -1); TextDrawSetOutline(Textdraw79, 0); TextDrawSetProportional(Textdraw79, 1); TextDrawSetShadow(Textdraw79, 1); Textdraw80 = TextDrawCreate(432.000000, 199.000000, "/FISHHELP"); TextDrawBackgroundColor(Textdraw80, 255); TextDrawFont(Textdraw80, 2); TextDrawLetterSize(Textdraw80, 0.200000, 1.100000); TextDrawColor(Textdraw80, -1); TextDrawSetOutline(Textdraw80, 0); TextDrawSetProportional(Textdraw80, 1); TextDrawSetShadow(Textdraw80, 1); Textdraw81 = TextDrawCreate(432.000000, 207.000000, "/IRCHELP"); TextDrawBackgroundColor(Textdraw81, 255); TextDrawFont(Textdraw81, 2); TextDrawLetterSize(Textdraw81, 0.200000, 1.100000); TextDrawColor(Textdraw81, -1); TextDrawSetOutline(Textdraw81, 0); TextDrawSetProportional(Textdraw81, 1); TextDrawSetShadow(Textdraw81, 1); Textdraw82 = TextDrawCreate(432.000000, 215.000000, "/COOKHELP"); TextDrawBackgroundColor(Textdraw82, 255); TextDrawFont(Textdraw82, 2); TextDrawLetterSize(Textdraw82, 0.200000, 1.100000); TextDrawColor(Textdraw82, -1); TextDrawSetOutline(Textdraw82, 0); TextDrawSetProportional(Textdraw82, 1); TextDrawSetShadow(Textdraw82, 1); Textdraw83 = TextDrawCreate(136.000000, 407.000000, "."); TextDrawBackgroundColor(Textdraw83, 255); TextDrawFont(Textdraw83, 1); TextDrawLetterSize(Textdraw83, 0.500000, 3.099999); TextDrawColor(Textdraw83, 255); TextDrawSetOutline(Textdraw83, 0); TextDrawSetProportional(Textdraw83, 1); TextDrawSetShadow(Textdraw83, 1); TextDrawUseBox(Textdraw83, 1); TextDrawBoxColor(Textdraw83, 255); TextDrawTextSize(Textdraw83, 503.000000, 0.000000); Textdraw84 = TextDrawCreate(135.000000, 440.000000, "."); TextDrawBackgroundColor(Textdraw84, 255); TextDrawFont(Textdraw84, 1); TextDrawLetterSize(Textdraw84, -0.009999, -0.500000); TextDrawColor(Textdraw84, 65535); TextDrawSetOutline(Textdraw84, 0); TextDrawSetProportional(Textdraw84, 1); TextDrawSetShadow(Textdraw84, 1); TextDrawUseBox(Textdraw84, 1); TextDrawBoxColor(Textdraw84, 65535); TextDrawTextSize(Textdraw84, 504.000000, 0.000000); Textdraw85 = TextDrawCreate(136.000000, 406.000000, "Daca sunteti intr-o factiune sau aveti un job si vreti sa aflati comenzile"); TextDrawBackgroundColor(Textdraw85, 255); TextDrawFont(Textdraw85, 1); TextDrawLetterSize(Textdraw85, 0.260000, 1.000000); TextDrawColor(Textdraw85, -1); TextDrawSetOutline(Textdraw85, 0); TextDrawSetProportional(Textdraw85, 1); TextDrawSetShadow(Textdraw85, 1); Textdraw86 = TextDrawCreate(445.000000, 406.000000, "tastati"); TextDrawBackgroundColor(Textdraw86, 255); TextDrawFont(Textdraw86, 1); TextDrawLetterSize(Textdraw86, 0.260000, 1.000000); TextDrawColor(Textdraw86, -1); TextDrawSetOutline(Textdraw86, 0); TextDrawSetProportional(Textdraw86, 1); TextDrawSetShadow(Textdraw86, 1); Textdraw87 = TextDrawCreate(475.000000, 406.000000, "/helpo"); TextDrawBackgroundColor(Textdraw87, 255); TextDrawFont(Textdraw87, 1); TextDrawLetterSize(Textdraw87, 0.260000, 1.000000); TextDrawColor(Textdraw87, 567214335); TextDrawSetOutline(Textdraw87, 0); TextDrawSetProportional(Textdraw87, 1); TextDrawSetShadow(Textdraw87, 1); Textdraw88 = TextDrawCreate(136.000000, 418.000000, "Pentru a inchide fereastra apasati tasta"); TextDrawBackgroundColor(Textdraw88, 255); TextDrawFont(Textdraw88, 1); TextDrawLetterSize(Textdraw88, 0.260000, 1.000000); TextDrawColor(Textdraw88, -1); TextDrawSetOutline(Textdraw88, 0); TextDrawSetProportional(Textdraw88, 1); TextDrawSetShadow(Textdraw88, 1); Textdraw89 = TextDrawCreate(310.000000, 418.000000, "SHIFT"); TextDrawBackgroundColor(Textdraw89, 255); TextDrawFont(Textdraw89, 1); TextDrawLetterSize(Textdraw89, 0.260000, 1.000000); TextDrawColor(Textdraw89, -16776961); TextDrawSetOutline(Textdraw89, 0); TextDrawSetProportional(Textdraw89, 1); TextDrawSetShadow(Textdraw89, 1);[/pawn] La public OnPlayerRequestSpawn(playerid) [pawn] TextDrawShowForPlayer(playerid, help2);[/pawn] La OnPlayerCommandText: [pawn] if(strcmp(cmdtext, "/help", true) == 0) { TextDrawShowForPlayer(playerid, CMDBOX); TextDrawShowForPlayer(playerid, text0); //aici codul textdrawlui adica De la new Text:Textdraw0 , text 0 //Si trebuie sa continui pana la final TextDrawShowForPlayer(playerid, text1); TextDrawShowForPlayer(playerid, text2); return true; }[/pawn] Download (daca tie lene sa bagi intrun pawno): http://www.fileshare.ro/55880484832.4
  13. Salut sa-mp.ro .Am facut comanda badmin. --Vreau ca pe server sa apara cand dau /badmin intr-un chenar ( ONDialogReponse). --Intru pe server apas pe optiune si nu imi arata datele de contact imi da o masina. Comanda : [pawn] #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by Allex"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by Allex"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Badmin", "Level 1 -- 10 ore","Level 2 --20 ore" , "Level3 -- 30 ore" , "Level 4 -- 3E", "Level 5 --4E","Level 6 --5E","Level 7 --6E","Level 8 --7E","Level 9 --8E" "Continue", "Quit"); return 1; } public OnPlayerDisconnect(playerid, reason) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Badmin", "Level 1 -- 10 ore","Level 2 -- 20 ore","Level3 --3O ore ","Level 4 -- 3E", "Level 5 -- 4E", "Level 6 -- 5E","Level 7 -- 6E","Level 8 -- 7E","Level 9 -- 8E" "Continue", "Quit"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/badmin", true) == 0) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Badmin", "Level 1 -- 10 ore","Level 2 -- 20 ore","Level3 --3O ore ","Level 4 -- 3E", "Level 5 -- 4E", "Level 6 -- 5E","Level 7 -- 6E","Level 8 -- 7E","Level 9 -- 8E" "Continue", "Quit"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { SendClientMessage(playerid,0x008000FF, "Id:[email protected]!"); } else { SendClientMessage(playerid, 0xFF0000FF, "Varsta :14 Ani!"); } return 1; } return 0; if(dialogid == 2) { if(response) { SendClientMessage(playerid,0x008000FF, "Id:[email protected]!"); } else { SendClientMessage(playerid, 0xFF0000FF, "Varsta :16 Ani!"); } return 1; } return 0; if(dialogid == 3) { if(response) { SendClientMessage(playerid,0x008000FF, "Id:geo.playmix_14!"); } else { SendClientMessage(playerid, 0xFF0000FF, "Varsta :16 Ani!"); } return 1; } return 0; if(dialogid == 4) { if(response) { SendClientMessage(playerid,0x008000FF, "Id:[email protected]!"); } else { SendClientMessage(playerid, 0xFF0000FF, "Varsta :14 Ani!"); } return 1; } return 0; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }[/pawn]
  14. Am o problema cu NPC.A bagat un fs cu NPC si ei nu se vad pe server.Am pus fisierul cu npcmodes in scriptfiles.Si include-ul. Acesta e fs: [pawn]/------------------------------------------------------------------------------ //NPC SCRIPT MADY BY FLAKE AND REDIRECT_LEFT V1CEC1TY // /* there are < 40 > NPC's in total one Command /party to join the NPC party in los santos A special thanks to Redirect_left for helping with the 3DTextLabel's also to Madruga for suplying the UFO and those NPC;s Also helped V1ceC1ty for the dancing NPC's This is Version 4.5 //------------------------------------------------------------------------------ //============================================================================== */ #include <a_samp> #define COLOR_GREEN 0x33AA33AA //so Far there are 68 NPC's new Random; //this is for the on foot NPC's new Boat; new coach,Coach2; new Beagle; new Plane1,Plane2,Plane3; new Taxi1; new Stunter; new Limo1; new Limo2; new Tug; new LVTaxi; new Dodo; new Elegy; new race; new race2; new carroFBI1; new carroFBI2; new carroFBI3; new carroFBI4; new carroFBI5; new carroFBI6; new tsf; new tlv; new tls; public OnGameModeInit() { //--this lets the NPC's connect to your server ConnectNPC("Boater","Boater"); ConnectNPC("Coach","Coach"); ConnectNPC("Beagle","Beagle"); ConnectNPC("Coach2","Coach2"); ConnectNPC("Taxi1","Taxi1"); ConnectNPC("Pilot_ymtisd","at400_lv"); ConnectNPC("Pilot_pip","at400_sf"); ConnectNPC("Pilot_Flake","at400_ls"); ConnectNPC("Stunter","Stunter"); ConnectNPC("Limo1","limo1"); ConnectNPC("Limo2","limo2"); ConnectNPC("Tug","tug"); ConnectNPC("LVTaxi","lvtaxi"); ConnectNPC("Dodo","dodo"); ConnectNPC("Elegy","elegy"); ConnectNPC("StageDancer1","stagedancer1"); ConnectNPC("StageDancer2","stagedancer2"); ConnectNPC("StageDancer3","stagedancer3"); ConnectNPC("Bystander","bystander"); ConnectNPC("DrinkServer","drinkserver"); ConnectNPC("VIPMember","vipmember"); ConnectNPC("Security","security"); ConnectNPC("race","race"); ConnectNPC("race2","race2"); //---This makes the Npc's spawn-- Boat = AddStaticVehicle(484,-1988.0057,116.6116,27.6411,0.6686,75,59); coach = AddStaticVehicle(437,-1988.0057,116.6116,27.6411,0.6686,75,59); Coach2 = AddStaticVehicle(437,-1988.0057,116.6116,27.6411,0.6686,75,59); Beagle = AddStaticVehicle(511,-1988.0057,116.6116,27.6411,0.6686,75,59); Plane1 = AddStaticVehicle(77,-1988.0057,116.6116,27.6411,0.6686,75,59); Plane2 = AddStaticVehicle(577,-1988.0057,116.6116,27.6411,0.6686,75,59); Plane3 = AddStaticVehicle(577,-1988.0057,116.6116,27.6411,0.6686,75,59); Taxi1 = AddStaticVehicle(420,-1988.0057,116.6116,27.6411,0.6686,75,59); Stunter = AddStaticVehicle(411,-1988.0057,116.6116,27.6411,0.6686,75,59); Limo1 = AddStaticVehicle(409,2125.1548,1045.6689,10.6029,125.6300,1,1); // limo1 Limo2 = AddStaticVehicle(409,2039.3546,989.0201,10.4719,179.9125,0,0); // limo2 Tug = AddStaticVehicle(583,1633.1984,1648.5555,10.3607,177.7618,1,1); // tug LVTaxi = AddStaticVehicle(420,1710.0829,1452.1614,10.5395,343.1176,6,1); // taxi Dodo = AddStaticVehicle(593,1327.7201,1581.3104,11.2769,271.5139,51,1); // dodo Elegy = AddStaticVehicle(562,2085.3762,863.2629,6.4877,89.4885,33,33); // elegy Random = AddStaticVehicle(420,2044.8854,1473.2106,10.4494,181.3339,6,1); // Makes sure the NPC Spawns race = AddStaticVehicle(411,2085.3762,863.2629,6.4877,89.4885,33,33); // elegy race2 = AddStaticVehicle(411,2044.8854,1473.2106,10.4494,181.3339,6,1); // Makes sure the NPC Spawns carroFBI1 = CreateVehicle(497, 0.0, 0.0, 5.0, 0.0, -1, -1, 5000); // Police Maverick carroFBI2 = CreateVehicle(490, 0.0, 0.0, 5.0, 0.0, 0, 0, 5000); // FBI Rancher carroFBI3 = CreateVehicle(470, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); // Patriot carroFBI4 = CreateVehicle(433, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); // Barracks carroFBI5 = CreateVehicle(433, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); // Barracks carroFBI6 = CreateVehicle(548, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); // Cargobob tsf = AddStaticVehicle(537,-1988.0057,116.6116,27.6411,0.6686,75,59); tlv = AddStaticVehicle(538,-1988.0057,116.6116,27.6411,0.6686,75,59); tls = AddStaticVehicle(538,-1988.0057,116.6116,27.6411,0.6686,75,59); //------------------------------------------------------------------------------ //these are objects that the npc will use to do its stunts CreateObject(1634,-1266.577,-190.904,14.446,0.0,0.0,45.000); CreateObject(1634,-1271.121,-186.348,14.446,0.0,0.0,225.000); CreateObject(1634,-957.963,-220.309,-345.197,0.0,-37.815,289.689); CreateObject(1634,-1264.922,-185.149,14.446,0.0,0.0,-225.000); CreateObject(1634,-1271.860,-193.109,14.446,0.0,0.0,315.000); CreateObject(18449,-1301.436,5.321,15.717,0.0,-3.438,-44.141); CreateObject(18449,-1299.442,4.185,19.017,0.0,-8.594,-43.281); CreateObject(18449,-1293.634,-1.235,23.085,0.0,-12.892,-43.281); CreateObject(18449,-1288.125,-6.742,27.788,0.0,-24.924,-43.281); CreateObject(18449,-1280.633,-13.288,35.355,0.0,-24.924,-43.281); CreateObject(18449,-1294.906,-0.195,29.303,0.0,-35.237,-43.281); CreateObject(18449,-1277.102,-16.661,45.734,0.0,-44.691,-43.281); CreateObject(18449,-1271.461,-21.984,56.458,0.0,-51.566,-43.281); CreateObject(18449,-1269.466,-27.213,65.927,0.0,-55.004,-51.875); CreateObject(18449,-1239.734,-4.075,-179.116,0.0,-52.426,224.218); CreateObject(18449,-1277.186,-17.299,60.409,0.0,-79.068,-49.297); CreateObject(18449,-1327.108,31.294,16.436,0.0,-7.735,-44.141); CreateObject(18449,-1281.542,-12.933,43.059,0.0,-66.177,-49.297); CreateObject(18449,-943.862,-224.878,-259.072,0.0,-43.831,177.499); CreateObject(18449,-1287.920,25.462,31.803,0.0,0.0,-44.141); CreateObject(1634,-1276.876,-5.813,39.388,0.0,-38.675,-85.393); CreateObject(1634,-1276.944,-7.445,43.101,0.0,-53.285,-47.733); CreateObject(975,-1289.233,-10.673,35.826,0.0,0.0,33.750); CreateObject(975,-1288.915,-8.482,35.655,0.0,0.0,33.750); CreateObject(1634,-1280.826,-9.087,41.653,0.0,-53.285,-103.983); CreateObject(1634,-1286.660,-7.749,39.352,0.0,-20.626,-134.604); CreateObject(1634,-1262.056,29.544,-300.042,0.0,-32.659,-134.604); CreateObject(975,-1291.201,-4.316,35.302,0.0,-53.285,-13.751); CreateObject(974,-1291.142,-10.438,39.397,0.0,48.988,49.607); CreateObject(18449,-1309.527,14.350,22.667,0.0,-26.643,-43.281); CreateObject(18449,-1304.015,8.436,29.668,0.0,-23.205,-42.422); CreateObject(971,-1293.642,-11.378,44.497,0.0,0.0,45.000); CreateObject(971,-1277.347,-10.843,48.946,0.0,0.0,36.328); CreateObject(971,-1283.711,-12.966,47.226,0.0,0.0,-8.672); CreateObject(971,-1288.454,-11.895,45.416,0.0,0.0,-8.672); CreateObject(971,-1282.491,-1.232,44.439,0.0,0.0,-42.422); CreateObject(18449,-1262.308,1.871,34.715,0.0,-13.751,-41.640); CreateObject(971,-1257.206,7.370,40.094,0.0,-21.486,-51.093); CreateObject(971,-1269.967,17.896,45.516,0.0,-21.486,-51.093); CreateObject(971,-1270.514,15.647,36.717,0.0,-21.486,-51.093); CreateObject(971,-1267.393,15.020,38.987,0.0,-21.486,-51.093); CreateObject(971,-1262.823,11.152,38.244,0.0,-21.486,-51.093); CreateObject(971,-1261.682,11.407,41.474,0.0,-21.486,-51.093); CreateObject(971,-1256.189,7.298,46.388,0.0,-21.486,-51.093); CreateObject(971,-1254.397,3.577,42.068,0.0,-21.486,-51.093); CreateObject(971,-1265.538,13.596,48.683,0.0,-21.486,-51.093); CreateObject(18449,-1317.501,54.257,37.882,0.0,12.032,-44.141); CreateObject(18449,-1339.865,75.919,47.438,0.0,21.486,-44.141); CreateObject(18449,-1363.631,98.952,63.403,0.0,28.361,-44.141); CreateObject(18449,-1395.623,130.223,89.850,0.0,31.799,-44.141); CreateObject(18449,-1448.132,180.738,113.972,0.0,5.157,-44.141); CreateObject(18449,-1497.333,232.115,93.269,0.0,-35.237,-48.360); CreateObject(1634,-1514.360,258.318,73.163,0.0,0.0,45.000); CreateObject(1634,-1517.249,255.505,73.174,0.0,0.0,45.000); CreateObject(1634,-1520.068,252.992,73.304,0.0,0.0,45.000); CreateObject(979,-1470.332,209.689,117.243,0.0,0.0,-11.250); CreateObject(979,-1476.803,201.613,117.170,0.0,0.0,-67.500); CreateObject(979,-1475.948,202.040,117.146,0.0,0.0,-56.250); CreateObject(979,-1475.265,202.672,117.142,0.0,0.0,-45.000); CreateObject(979,-1470.590,208.660,117.203,0.0,0.0,-22.500); CreateObject(979,-1471.048,207.710,117.178,0.0,0.0,-33.750); CreateObject(979,-1472.981,203.496,117.062,0.0,0.0,-67.500); CreateObject(994,-1463.485,197.525,116.466,0.0,0.0,-42.422); CreateObject(994,-1463.923,195.550,116.371,0.0,0.0,-33.750); CreateObject(994,-1459.651,193.481,115.964,0.0,0.0,-11.250); CreateObject(994,-1459.525,192.285,115.881,0.0,0.0,-11.250); CreateObject(993,-1457.139,187.338,116.136,0.0,0.0,45.000); CreateObject(993,-1456.053,198.927,116.808,0.0,0.0,45.000); CreateObject(993,-1449.750,195.563,117.160,0.0,0.0,45.000); CreateObject(994,-1467.938,199.806,116.898,0.0,0.0,-45.000); CreateObject(994,-1467.347,201.178,116.946,0.0,0.0,-42.422); //UFO CreateObject(10955, 1924.842, -587.859, 59.764, 38.675, 0.0, 193.015); CreateObject(10955, 1924.885, -587.685, 59.645, 0.0, 38.675, 103.015); CreateObject(10955, 1923.905, -583.159, 65.475, 0.0, 218.555, 103.015); CreateObject(10955, 1923.717, -583.436, 65.499, -141.334, 0.0, 193.015); CreateObject(791, 1942.607, -572.136, 6.953, 40.394, 8.594, 0.0); CreateObject(791, 1985.908, -567.111, 20.678, 55.004, 8.594, -12.892); CreateObject(791, 1988.251, -578.387, 30.042, 42.112, 8.594, 39.534); CreateObject(791, 1972.188, -621.665, 53.508, 29.221, 0.0, 39.534); CreateObject(3461, 1950.360, -395.645, 21.637, 0.0, 0.0, 0.0); CreateObject(791, 1937.663, -635.915, 53.508, 29.221, 0.0, 39.534); //------------------------------------------------------------------------------ print(" NPC mega pack.. Loaded!"); print(" Made by Memoryz, flake and V1cec1ity"); //Please do not remove this, this is all I ask in return return 1; } public OnPlayerSpawn(playerid) { if(!IsPlayerNPC(playerid)) return 0; new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); new playername[64]; GetPlayerName(playerid,playername,64); if(!strcmp(playername,"Boater",true)) { PutPlayerInVehicle(playerid, Boat, 0); SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); new Text3D:boat = Create3DTextLabel("NPC_BoatDriver(ID:0)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(boat, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Coach",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, coach, 0); new Text3D:Coach = Create3DTextLabel("NPC_BusDriver(ID:1)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(Coach, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Beagle",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Beagle, 0); new Text3D:beagle = Create3DTextLabel("NPC_BeagleDriver(ID:2)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(beagle, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Pilot_ymtisd",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Plane1, 0); new Text3D:PTD1 = Create3DTextLabel("NPC_PilotYmtisd(ID:3)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Pilot_Flake",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Plane2, 0); new Text3D:PTD2 = Create3DTextLabel("NPC_PilotFlake(ID:4)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD2, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Pilot_Pip",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Plane3, 0); new Text3D:PTD3 = Create3DTextLabel("NPC_PilotPip(ID:5)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD3, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Coach2",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Coach2, 0); new Text3D:PTD1 = Create3DTextLabel("NPC_CoachDriver(ID:6)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Taxi1",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Taxi1, 0); new Text3D:PTD1 = Create3DTextLabel("NPC_SFTaxi(ID:7)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Stunter",true)) { SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Stunter, 0); new Text3D:PTD1 = Create3DTextLabel("NPC_Stunter(ID:8)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } if(!strcmp(playername,"Limo1",true)) { PutPlayerInVehicle(playerid, Limo1, 0); SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); SetPlayerColor(playerid,0xFF9900AA); new Text3D:PTD1 = Create3DTextLabel("NPC_Limo1(ID:9)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Limo2",true)) { SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Limo2, 0); SetPlayerColor(playerid,0xFF9900AA); new Text3D:PTD1 = Create3DTextLabel("NPC_Limo2(ID:10)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Tug",true)) { SetSpawnInfo( playerid, 0, 16, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Tug, 0); SetPlayerColor(playerid,0xFFFFFFAA); new Text3D:PTD1 = Create3DTextLabel("NPC_TugDriver(ID:11)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"LVTaxi",true)) { SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, LVTaxi, 0); SetPlayerColor(playerid,0xFFFF00AA); new Text3D:PTD1 = Create3DTextLabel("NPC_LVTaxiDriver(ID:12)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Dodo",true)) { SetSpawnInfo( playerid, 0, 187, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Dodo, 0); SetPlayerColor(playerid,0x330066AA); new Text3D:PTD1 = Create3DTextLabel("NPC_DodoPilot(ID:13)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"Elegy",true)) { SetSpawnInfo( playerid, 0, 217, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, Elegy, 0); SetPlayerColor(playerid,0x33CCFFAA); new Text3D:PTD1 = Create3DTextLabel("NPC_ElegyDriver(ID:14)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } if(!strcmp(playername,"Dancer1",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 12, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer2",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 101, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer3",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 13, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer4",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 169, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer5",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 170, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer6",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 180, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer7",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 216, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer8",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 21, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer9",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 214, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer10",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 226, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer11",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 223, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer12",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 24, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer13",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 25, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Dancer14",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 40, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"StageDancer1",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 277, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"StageDancer2",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 280, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"StageDancer3",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 287, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Bystander",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 59, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"DrinkServer",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 93, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"VIPMember",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 103, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"Security",true)) { PutPlayerInVehicle(playerid, Random, 0); SetSpawnInfo( playerid, 0, 164, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); } else if(!strcmp(playername,"race",true)) { SetSpawnInfo( playerid, 0, 187, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, race, 0); SetPlayerColor(playerid,0x330066AA); new Text3D:PTD1 = Create3DTextLabel("NPC_Racer(ID:13)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"race2",true)) { SetSpawnInfo( playerid, 0, 217, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, race2, 0); SetPlayerColor(playerid,0x33CCFFAA); new Text3D:PTD1 = Create3DTextLabel("NPC_Racer2(ID:14)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } if(!strcmp(npcname, "FBI_1", true)){ SetSpawnInfo( playerid, 0, 286, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI(ID:23)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_2", true)){ SetSpawnInfo( playerid, 0, 286, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_2(ID:24)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_3", true)){ SetSpawnInfo( playerid, 0, 286, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_3(ID:25)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_4", true)){ SetSpawnInfo( playerid, 0, 286, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_4(ID:26)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_5", true)){ SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_5(ID:27)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_6", true)){ SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_6(ID:28)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_7", true)){ SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_7(ID:29)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_8", true)){ SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_8(ID:30)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_9", true)){ SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_9(ID:31)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_10", true)){ PutPlayerInVehicle(playerid, carroFBI4, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Barracks new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_10(ID:32)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_11", true)){ PutPlayerInVehicle(playerid, carroFBI5, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Barracks new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_11(ID:33)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_12", true)){ PutPlayerInVehicle(playerid, carroFBI1, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Heli new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_12(ID:33)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_13", true)){ PutPlayerInVehicle(playerid, carroFBI3, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Patriot new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_13(ID:34)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_14", true)){ PutPlayerInVehicle(playerid, carroFBI2, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Rancher new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_14(ID:35)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } if(!strcmp(npcname, "FBI_15", true)){ PutPlayerInVehicle(playerid, carroFBI6, 0); SetSpawnInfo( playerid, 0, 287, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 ); //Cargo Bob new Text3D:PTD1 = Create3DTextLabel("NPC_FBI_15(ID:35)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); return 1; } else if(!strcmp(playername,"NPC_TrainSF",true)) { SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, tsf, 0); SetPlayerColor(playerid,0xFFFF00AA); new Text3D:PTD1 = Create3DTextLabel("NPC_SFTrain(ID:20)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"NPC_TrainLS",true)) { SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, tls, 0); SetPlayerColor(playerid,0xFFFF00AA); new Text3D:PTD1 = Create3DTextLabel("NPC_LSTrain(ID:21)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } else if(!strcmp(playername,"NPC_TrainLV",true)) { SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 ); PutPlayerInVehicle(playerid, tlv, 0); SetPlayerColor(playerid,0xFFFF00AA); new Text3D:PTD1 = Create3DTextLabel("NPC_LVTrain(ID:22)",0x33AA33AA,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.5); } return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/party", cmdtext, true) == 0) { SetPlayerPos(playerid,493.390991,-22.722799,1000.679687); SetPlayerInterior(playerid, 17); SendClientMessage(playerid,0xCC9933FF,"Welcome to The NPC Party!"); return 1; } if (strcmp("/a69", cmdtext, true) == 0) { SetPlayerPos(playerid,88.3497,1918.6447,17.8780); SendClientMessage(playerid,0xCC9933FF,"Welcome to the NPC Area 69"); return 1; } if (strcmp("/npcs", cmdtext, true) == 0) { SendClientMessage(playerid,0xCC9933FF,"At The Moment there are [56] Npc's Online"); return 1; } if (strcmp("/ufo", cmdtext, true) == 0) { SetPlayerPos(playerid,1931.7877,-506.3997,21.1385); SendClientMessage(playerid,0xCC9933FF,"Welcome to The NPC UFO insident"); return 1; } if (strcmp("/npchelp", cmdtext, true) == 0) { SendClientMessage(playerid,0xCC9933FF,"The Npc tele and help is:"); SendClientMessage(playerid,0xCC9933FF,"there are 53 npc's connected to the server"); SendClientMessage(playerid,0xCC9933FF,"for teleports to the npc locations use"); SendClientMessage(playerid,0xCC9933FF,"/ufo /a69 /party"); SendClientMessage(playerid,0xCC9933FF,"more comming soon!"); return 1; } if (strcmp("/credits", cmdtext, true) == 0) { SendClientMessage(playerid,0xCC9933FF,"The Credits for the script:"); SendClientMessage(playerid,0xCC9933FF,"Flake for making most of the NPC's"); SendClientMessage(playerid,0xCC9933FF,"V1ceC1ty for leting me add his Dance party bots"); SendClientMessage(playerid,0xCC9933FF,"Redirect_left for helping with the 3DtextLabels"); SendClientMessage(playerid,0xCC9933FF,"and Madruga for the UFO npc's"); return 1; } return 0; } //////////////////////////////////////////////////////////////////////////////// //End of the script[/pawn]
  15. [pawn] if(strcmp(cmdtext, "/credits", true) == 0) { ShowPlayerDialog(playerid,JUMPS,DIALOG_STYLE_MSGBOX,"Credite:","\n{FFF1AF}Gamemode-->{F81414}.\n{FFF1AF}Filterscripts --> {F81414}.\n{FFF1AF}Maps --> {F81414} .\n{FFF1AF}Server Made by -->{F81414} \n{FFF1AF}Host --> {F81414}.\n{FFF1AF}Co-Owners--> {F81414}.,"OK",""); return 1; }[/pawn]
  16. Trebuie sa ai instalate urmatoarele drivere : --Placa video --Placa de baza --Placa de sunet
  17. Daca nu iti merge incearca sa schimbi pawno de 0.3c sau de 0.3d
  18. Salut.Astazi am hotarat sa imi hostezi serverul. Cel care il incarca primeste aceste erori: Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3d-R2, ©2005-2011 SA-MP Team [18:10:26] Unable to exec file 'server.cfg'. [18:10:26] Error: Your password must be changed from the default password, please change it. Ce ar trebui sa fac?
  19. @The_Rock vezi ca o parte din mapa ia apa .Pune objecturile mai sus.
  20. Nu intrebam in general .Ca am eu o comanda la Baza Gangster V2.0 Updated si nu imi merge .Daca vei incerca la tine pe server nu va merge am incercat.
  21. Fratilor dc nu va merge ?Uite de ce: La plugins/server.cfg/myserver voi nu ati pus audio.dll/so .FS Acesta este bun mie imi merge. Gj 5/5.Bafta la Fs-uri .;)
  22. Cool 10/10 Mai lucreaza la ea . Gj;) Id la gresia colorata?Thx
  23. Ma refer la sa-mp Apropo ce scriu sa gasesc pe .com?
  24. Sall @andy47.Uite o comanda cu exitdm .Incearca sa vezi daca merge daca nu merge da un pm if(!strcmp(cmdtext,"/qdm",true)) DM[playerid] = 0; SetPlayerVirtualWorld(playerid,0); PlayerPlaySound(playerid,1085,0.0,0.0,0.0); ResetPlayerWeapons(playerid); SetPlayerHealth(playerid,0); SendClientMessage(playerid,0x7CFC00AA,"Ai iesit din zona de DM."); return 1; }
  25. Cum pot face sa zboare un balon ?
×
×
  • 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.