Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - DragonSoul

Oldalak: 1 2 [3] 4 5
31
SA-MP: Szerverfejlesztés / DaRkNeSS FreeRoaM gamemodja v0.6c
« Dátum: 2014. Június 29. - 13:58:16 »
1. Nem bugos. Ha egyszer regisztráltál akkor onnantól kezdve be tudsz jelentkezni
2. Konkrétan mi a hiba a fegyverlehívóval? Nekem mûködik..
3. Keresd meg ezt a GameModeban:
 
if(dialogid == DIAMUSIC)
    {
    if(response)
    {
         switch(listitem)
         {
   case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
   case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
   case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
   case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
   case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
   case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
   case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
   case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
   case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
   case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
   case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
   case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
   case 12:for(new i = 0; i < MAX_PLAYERS; i++)StopAudioStreamForPlayer(i);
 }
}
}
if(dialogid == DIAMUSIC+1)
    {
    if(response)
    {
         switch(listitem)
         {
   case 0:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1\");
   case 1:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/28yuo0stx332n2p/GenteLoca.mp3?dl=1\");
   case 2:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1\");
   case 3:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1\");
   case 4:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/xmo5nrwc6uvx90e/PartyLMFAO.mp3?dl=1\");
   case 5:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
   case 6:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
   case 7:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
   case 8:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
   case 9:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
   case 10:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
   case 11:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
   case 12:StopAudioStreamForPlayer(playerid);
 }

 
ez a 2786.sortól kezdõdik..
Ha módosítani akarod a zenét akkor:
 
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");//ezt a linket a sajátodra kicseréled(vagy amelyik zenét le akarod cserélni annak a linkjét a sajátodra cseréled)

 
Aztán:
Megkeresed ezt:
if(strcmp(\"/zene\", cmd, true) == 0)
{
ShowPlayerDialog(playerid, DIAMUSIC, DIALOG_STYLE_LIST, \"{0094FF}Zenék\",\"{267F00}Oceana - Endless Summer\\n{267F00}Papa Roach - To Be Loved\\n{267F00}Skillet - Monster\\n{267F00}Jim Johnston - Born To Win\\n{267F00}Motorhead - The Game\\n{267F00}Sexy - LMFAO\\n{267F00}Titanum - DG\\n{267F00}Turn me on - DG\\n{267F00}Quiero Rayos de sol\\n{267F00}Vamos a la playa Oh oh oh\\n{267F00}Tarzan boy (80`s)\\n{267F00}Alphaville - Big Japan (80´s)\\n{267F00}Zene megállítása\",\"OK\",\"Kilépés\");
return 1;
    }

 
(1192. sor nekem)
Aztán itt a címeket lecseréled (ha pl. az elsõ linket cserélted ki a sajátodra,akkor itt az 1. zene nevét cseréled le a \"saját zenéd\" nevére
példa:
Oceana - Endless Summer

ha az elsõ linket cserélted le akkor ezt a zenecímet kitörlöd és a sajátodat beírod helyette
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Zene hozzáadása
1. lépés a hozzáadáshoz:
Az 1192. sor végén találsz 1 ilyet:
 
Alphaville - Big Japan (80´s)\\n{267F00}Zene megállítása\",\"OK\",\"Kilépés\");

 
Az Alphaville - Big Japan (80´s) után találsz egy \"\\n\" -t. A \\n után odaírod a saját zenéd nevét,és ha beírtad a saját zenéd nevét,akkor a saját zenéd neve elé ezt írod: {267F00} .Végül a zenéd neve után írsz egy \"\\n\" -t
2. lépés a hozzáadáshoz:
Megkeresed megint ezt:
 
if(dialogid == DIAMUSIC)
    {
    if(response)
    {
         switch(listitem)
         {
   case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
   case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
   case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
   case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
   case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
   case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
   case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
   case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
   case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
   case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
   case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
   case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
   case 12:for(new i = 0; i < MAX_PLAYERS; i++)StopAudioStreamForPlayer(i);
 }
}
}
if(dialogid == DIAMUSIC+1)
    {
    if(response)
    {
         switch(listitem)
         {
                          //ezelõtt nem írtam de az alábbi linkekkel ne is törõdj. A Fenti linkekkel kell törõdni
   case 0:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1\");
   case 1:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/28yuo0stx332n2p/GenteLoca.mp3?dl=1\");
   case 2:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1\");
   case 3:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1\");
   case 4:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/xmo5nrwc6uvx90e/PartyLMFAO.mp3?dl=1\");
   case 5:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
   case 6:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
   case 7:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
   case 8:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
   case 9:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
   case 10:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
   case 11:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
   case 12:StopAudioStreamForPlayer(playerid);

 
Ha hozzá akarsz adni zenét akkor:
 
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
   case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
   case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
   case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
   case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
   case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
   case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
   case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
   case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
   case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
   case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
   case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
                                              //itt nyomsz 1 enter-t

 
Enter után az üres sorba ezt írod:
 
case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"//ide bemásolod a zenédnek a linkjét\");

 
Remélem érthetõen leírtam!

32
SA-MP: Szerverfejlesztés / DaRkNeSS FreeRoaM gamemodja v0.6c
« Dátum: 2014. Június 28. - 20:43:09 »
Nagyon jó![/quote]
Köszi  :)
 
+ raktam bele pár dolgot.[/quote]
Örülök neki  :thumbsup:
Én is elkezdtem frissítgetni a szervert + idõnként én is bõvítem..
És a változtatásokat mindig feltöltöm a témába(ebbe)  ;D

33
SA-MP: Szerverfejlesztés / DaRkNeSS FreeRoaM gamemodja v0.6c
« Dátum: 2014. Június 27. - 15:52:52 »
Mostmár mûködik..  8)

34
SA-MP: Szerverfejlesztés / DaRkNeSS FreeRoaM gamemodja v0.6c
« Dátum: 2014. Június 27. - 07:51:37 »
Sziasztok
Ma publikálom a szerveremet ami az eXtreme FreeRoam alapjára lett írva.
A szerverhez 14 filterscript tartozik,rengeteg include,és maga a GM  ;)
A GM 5048 soros,objektek nélkül természetesen  :)
Amit tartalmaz a szerver + a GM:
-Dini segítségével pénz és pont mentése
-59 teleport, Kb 30 parancs
-4 MiniGame
-24304 objekt
-AFK rendszer
-Animációk
-AntiFall(ha bekapcsolod nem esel le a motorról,biciklirõl)
-Automatikus jármûjavítás
-Lehetõség van rádiót, zenét hallgatni
-Sebességmérõ
-Végtelen nitró
-5 percenként reakcióteszt, 10 percenként teleportreakcióteszt is van
-Jármû és fegyverlehívó
-Jobb felsõ sarokban a jelenlegi idõ
-Lehetõség van versenyezni
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Eredeti GM készítõje: Adri1
Eredeti GM linkje: http://forum.sa-mp.com/showthread.php?t=351590
DaRkNeSS FreeRoaM letöltési linkje(szervermappa): http://www.solidfiles.com/d/eb1f70b89d/samp_szeró.rar
UI:


Azért nyitottam új témát mert az elõzõ be volt zárva,pedig én még módosítani akartam volna..

35
Kérdések, Segítség / Samp Crash
« Dátum: 2014. Június 26. - 06:22:02 »
Sikerült köszi  ^-^

36
Kérdések, Segítség / Samp Crash
« Dátum: 2014. Június 25. - 14:33:25 »
Sziasztok!
Ma reggel sampoztam volna de..
 
SA-MP 0.3z
Exception At Address: 0x0040FB80
Base: 0x03E40000
Registers:
EAX: 0x1081A7A0   EBX: 0x105CAF10   ECX: 0x00000000   EDX: 0x00000000
ESI: 0x03F9D178   EDI: 0x105CAF10   EBP: 0x00000118   ESP: 0x0028FC90
EFLAGS: 0x00010202
Stack:
+0000: 0x004C6DC5   0x00000030   0x105CAF10   0x105CAF10
+0010: 0x03F9D178   0x00000118   0x00001500   0x0028FCF0
+0020: 0x0028FCF0   0x1081A7A0   0x03F9D178   0x01685848
+0030: 0x0028FCF0   0x008A62EC   0x008A62EC   0x03F9D178
+0040: 0x00001500   0x004C549D   0x01685780   0x004C52F0
+0050: 0x0028FCF0   0x105CAF10   0x03F9D178   0x0028FF78
+0060: 0x0083BC4B   0xFFFFFFFF   0x004C7369   0x105CAF10
+0070: 0x105CAF10   0x03F9D178   0x005373CF   0x105CAF10
+0080: 0x008E48AC   0x00000118   0x03F9D178   0x000015E0
+0090: 0x0040C814   0x008E48AC   0x03F9D178   0x000015E0
+00A0: 0x00000118   0x00000098   0x008E4AFC   0x962AFFC8
+00B0: 0x102CB800   0x00012000   0x75101194   0x000001F4
+00C0: 0xFFFFFFFF   0x00000000   0x019FDF10   0x0040E2CA
+00D0: 0x102CB800   0xFFFFFFFF   0x00000001   0x0000000B
+00E0: 0x00000098   0x75266C30   0x00000001   0x00000001
+00F0: 0x00000024   0x0040EAC8   0x00000001   0x00000001
+0100: 0x00000000   0x00863B10   0x005BA263   0x00000000
+0110: 0x00863A6C   0x0086A578   0x00000000   0x0053BCAB
+0120: 0x00863B10   0x00863B10   0x00863A90   0x00863B10
+0130: 0x0000000A   0x0053E593   0x00863B10   0x00748D00
+0140: 0x75101245   0x00000000   0x0028FF88   0x7EFDE000
+0150: 0x01A70000   0x00000008   0x05A73EC8   0x00000008
+0160: 0x00000100   0x00000008   0x00000102   0x43C80000
+0170: 0x43960000   0x00000000   0x00000000   0x00000320
+0180: 0x00000258   0x00000000   0x0028FE54   0x00140120
+0190: 0x00000113   0x00002334   0x666DEFB0   0x0044C401
+01A0: 0x00000190   0x0000012C   0x0000002C   0x0028FE2C
+01B0: 0x00825EA4   0x75101245   0x00000000   0x7EFDE000
+01C0: 0xFFFFFFFF   0x00821D17   0x00000065   0x00000065
+01D0: 0x0028FF88   0x008246F1   0x00400000   0x00000000
+01E0: 0x01982F86   0x0000000A   0x00000094   0x00000006
+01F0: 0x00000001   0x00001DB1   0x00000002   0x76726553
+0200: 0x20656369   0x6B636150   0x00003120   0x00000000
+0210: 0x00000000   0x00000000   0x00000000   0x00000000
+0220: 0x00000000   0x00000000   0x00000000   0x00000000
+0230: 0x00000000   0x00000000   0x00000000   0x00000000
+0240: 0x00000000   0x00000000   0x00000000   0x00000000
+0250: 0x00000000   0x00000000   0x00000000   0x00000000
+0260: 0x00000000   0x00000000   0x00000000   0x00000000
+0270: 0x00000000   0x00000000   0x00824588   0x00000000
SCM Op: 0x0, lDbg: 0 LastRendObj: 0
Game Version: US 1.0

 
Leírás
Oprendszer: Win7 Professional
Módok: Csak 3 kocsit meg egy gta 5 ös hudott raktam be \"módként\"
---------------------------------------------------------------------------------------
 Azóta van ez a crash amióta beraktam az 1ik kocsit..már vissz*raktam az eredetit de még mindig ez van..
UI: Amikor a samp betölt akkor van ez a crash
Pls valaki segítsen  :)

37
Segítségkérés / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 23. - 14:07:05 »
Sajnos sehogy se akart mûködni    :tantrum:
De azért köszi hogy válaszoltál
Zárok

38
Hivatalos fórumról áthozott szkriptek / Reális idõ textdraw
« Dátum: 2014. Június 23. - 09:46:14 »
Sziasztok!
Ez egy óra filterszkript ami a képernyõ jobb felsõ sarkába kiírja a jelenlegi idõt és a dátumot
A dátum angol sorrendben van  :angel:
Tehát így: /nap/hónap/év
----------------------------------------------------------------------------------------------------------------------
Készítõ: Shadow
Eredeti link: http://forum.sa-mp.com/showthread.php?t=70445
Kép:
\"29av09l.jpg\"
Letöltés: http://www.solidfiles.com/d/21038eb598/world.pwn
Kód:
 
#include <a_samp>
    #define FILTERSCRIPT
    new Text:Time, Text:Date;
    forward settime(playerid);
    public OnFilterScriptInit()
    {
            print(\"\\n--------------------------------------\");
            print(\" Updated Version! WORLDCLOCK+DATE By Shadow\");
            print(\"--------------------------------------\\n\");
            SetTimer(\"settime\",1000,true);
            Date = TextDrawCreate(547.000000,11.000000,\"--\");
            TextDrawFont(Date,3);
            TextDrawLetterSize(Date,0.399999,1.600000);
            TextDrawColor(Date,0xffffffff);
            Time = TextDrawCreate(547.000000,28.000000,\"--\");
            TextDrawFont(Time,3);
            TextDrawLetterSize(Time,0.399999,1.600000);
            TextDrawColor(Time,0xffffffff);
 
            SetTimer(\"settime\",1000,true);
            return 1;
    }
    public OnFilterScriptExit()
    {
            print(\"\\n-----------------------------------------------------\");
            print(\" Updated Version! WORLDCLOCK+DATE By Shadow !UNLOADED!\");
            print(\"-----------------------------------------------------/n\");
            return 1;
    }
    public OnPlayerSpawn(playerid)
    {
            TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);
            return 1;
    }
    public OnPlayerDisconnect(playerid, reason)
    {
            TextDrawHideForPlayer(playerid, Time), TextDrawHideForPlayer(playerid, Date);
            return 1;
    }
    public settime(playerid)
    {
            new string[256],year,month,day,hours,minutes,seconds;
            getdate(year, month, day), gettime(hours, minutes, seconds);
            format(string, sizeof string, \"%d/%s%d/%s%d\", day, ((month < 10) ? (\"0\") : (\"\")), month, (year < 10) ? (\"0\") : (\"\"), year);
            TextDrawSetString(Date, string);
            format(string, sizeof string, \"%s%d:%s%d:%s%d\", (hours < 10) ? (\"0\") : (\"\"), hours, (minutes < 10) ? (\"0\") : (\"\"), minutes, (seconds < 10) ? (\"0\") : (\"\"), seconds);
            TextDrawSetString(Time, string);
    }

39
Hivatalos fórumról áthozott szkriptek / Reakció teszt filterszkript
« Dátum: 2014. Június 23. - 09:32:20 »
Már KaRi áthelyezte
sry még kezdõ vagyok a fórumon

40
Segítségkérés / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 23. - 09:26:47 »
Mind2 re errort ad ki :(

Dupla hozzászólás automatikusan összefûzve. ( 2014. Június 23. - 09:28:47 )

Megadom a teljes kódrészletet hátha segít :D
 
public OnPlayerSpawn(playerid)
{
      if(MiniGame[playerid] == 1)
{
      if(Tipo[playerid] == 1)
{
new rand = random(sizeof(RandomMini1));
SetPlayerPos(playerid, RandomMini1[rand][0], RandomMini1[rand][1],RandomMini1[rand][2]);
GivePlayerWeapon(playerid, 38, 999999);
}
else if(Tipo[playerid] == 2)
{
new rand = random(sizeof(RandomMini2));
SetPlayerPos(playerid, RandomMini2[rand][0], RandomMini2[rand][1],RandomMini2[rand][2]);
CargarObjetos(playerid);
GivePlayerWeapon(playerid, 38, 999999);
}
else if(Tipo[playerid] == 3)
{
if(Equipo[playerid] == 1)
{
SetPlayerPos(playerid,7714.453125,-2599.890380,24.106107),CargarObjetos(playerid);
      GivePlayerWeapon(playerid,29,999999);
   GivePlayerWeapon(playerid,30,999999);
   GivePlayerWeapon(playerid,31,999999);
   new SkinArray[3] = {
   285,
   287,
   280
   };
   new rand = random(sizeof(SkinArray));
   SetPlayerSkin(playerid,SkinArray[rand]);
}
else if(Equipo[playerid] == 2)
{
   new SkinArray1[3] = {
   28,
   29,
   30,
   };
   new rand1 = random(sizeof(SkinArray1));
   SetPlayerSkin(playerid,SkinArray1[rand1]);
SetPlayerPos(playerid,7808.556152,-2665.601074,12.653361),CargarObjetos(playerid);
      GivePlayerWeapon(playerid,29,999999);
   GivePlayerWeapon(playerid,30,999999);
   GivePlayerWeapon(playerid,31,999999);
}
}
}
else if(MiniGame[playerid] == 0){
    new Float:RandomSpawn[][7] =
{
    {-628.202636,872.717712,1.834375,90.0}, // Randomspawn
    {2082.343261,1286.864746,10.820312,90.0}, // Randomspawn
    {1874.276367, -1394.703491, 13.610312,90.0}, // Randomspawn
    {2494.894531, -1688.636352, 13.930054,90.0}, // Randomspawn
    {2057.295654, 843.364379, 6.703125,90.0}, // Randomspawn
    {-1984.846069, 172.829696, 27.687500,90.0}
};
    new rand = random(sizeof(RandomSpawn));
    // SetPlayerPos to the random spawn data
    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    // SetPlayerFacingAngle to the random facing angle data
    SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);}
SetPlayerHealth(playerid,100);
    return 1;
}

41
Szkript kérések / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 23. - 06:59:59 »
Nem mûködött sajna...
Itt a teljes kód az onplayerspawnból
 
public OnPlayerSpawn(playerid)
{
      if(MiniGame[playerid] == 1)
{
      if(Tipo[playerid] == 1)
{
new rand = random(sizeof(RandomMini1));
SetPlayerPos(playerid, RandomMini1[rand][0], RandomMini1[rand][1],RandomMini1[rand][2]);
GivePlayerWeapon(playerid, 38, 999999);
}
else if(Tipo[playerid] == 2)
{
new rand = random(sizeof(RandomMini2));
SetPlayerPos(playerid, RandomMini2[rand][0], RandomMini2[rand][1],RandomMini2[rand][2]);
CargarObjetos(playerid);
GivePlayerWeapon(playerid, 38, 999999);
}
else if(Tipo[playerid] == 3)
{
if(Equipo[playerid] == 1)
{
SetPlayerPos(playerid,7714.453125,-2599.890380,24.106107),CargarObjetos(playerid);
      GivePlayerWeapon(playerid,29,999999);
   GivePlayerWeapon(playerid,30,999999);
   GivePlayerWeapon(playerid,31,999999);
   new SkinArray[3] = {
   285,
   287,
   280
   };
   new rand = random(sizeof(SkinArray));
   SetPlayerSkin(playerid,SkinArray[rand]);
}
else if(Equipo[playerid] == 2)
{
   new SkinArray1[3] = {
   28,
   29,
   30,
   };
   new rand1 = random(sizeof(SkinArray1));
   SetPlayerSkin(playerid,SkinArray1[rand1]);
SetPlayerPos(playerid,7808.556152,-2665.601074,12.653361),CargarObjetos(playerid);
      GivePlayerWeapon(playerid,29,999999);
   GivePlayerWeapon(playerid,30,999999);
   GivePlayerWeapon(playerid,31,999999);
}
}
}
else if(MiniGame[playerid] == 0){
    new Float:RandomSpawn[][7] =
{
    {-628.202636,872.717712,1.834375,90.0}, // Randomspawn
    {2082.343261,1286.864746,10.820312,90.0}, // Randomspawn
    {1874.276367, -1394.703491, 13.610312,90.0}, // Randomspawn
    {2494.894531, -1688.636352, 13.930054,90.0}, // Randomspawn
    {2057.295654, 843.364379, 6.703125,90.0}, // Randomspawn
    {-1984.846069, 172.829696, 27.687500,90.0}
};
    new rand = random(sizeof(RandomSpawn));
    // SetPlayerPos to the random spawn data
    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    // SetPlayerFacingAngle to the random facing angle data
    SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);}
SetPlayerHealth(playerid,100);
return 1;
}

 
Ezeket a minigamehez tartozó spawnokat meg nem akarnám kivenni de ha a randomspawnt kitörlöm és az 1.válaszoló kódját beillesztem akk nem mükszik

42
Segítségkérés / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 23. - 06:53:07 »
Sajnos nem vállt be..nemtom miért de nekem 26 errort adott ki utána..
Az úgy mûködni fog,hogyha randomspawn-nak csak 1 helyet adok meg?

43
Segítségkérés / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 22. - 20:49:34 »
Sziasztok
A szerverem gamemodjából szeretném kivenni a RandomSpawnt tehát hogy ne véletlenszerû helyekre spawnoljon hanem csak 1re
Valaki megtudná nekem oldani,hogy csak 1 helyre spawnoljon?
Kód:
   
new Float:RandomSpawn[][7] =
{
    {-628.202636,872.717712,1.834375,90.0}, // Csak az itt lévõ koordinátára spawnoljon
    {2082.343261,1286.864746,10.820312,90.0}, // Randomspawn
    {1874.276367, -1394.703491, 13.610312,90.0}, // Randomspawn
    {2494.894531, -1688.636352, 13.930054,90.0}, // Randomspawn
    {2057.295654, 843.364379, 6.703125,90.0}, // Randomspawn
    {-1984.846069, 172.829696, 27.687500,90.0}
};
    new rand = random(sizeof(RandomSpawn));
    // SetPlayerPos to the random spawn data
    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    // SetPlayerFacingAngle to the random facing angle data
    SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);}
SetPlayerHealth(playerid,100);
return 1;
}

 
UI: Az elõzõ ilyen témámat a Szkript kérésekbõl törölje a moderátor,köszi :D

44
Szkript kérések / RandomSpawn kivétele egy GM bõl
« Dátum: 2014. Június 22. - 20:46:00 »
Sziasztok
A szerverem gamemodjából szeretném kivenni a RandomSpawnt tehát hogy ne véletlenszerû helyekre spawnoljon hanem csak 1re
Valaki megtudná nekem oldani,hogy csak 1 helyre spawnoljon?
Kód:
 
new Float:RandomSpawn[][7] =
{
    {-628.202636,872.717712,1.834375,90.0}, // Azt szeretném ha csak az itt lévõ koordinátára spawnoljon
    {2082.343261,1286.864746,10.820312,90.0}, // Randomspawn
    {1874.276367, -1394.703491, 13.610312,90.0}, // Randomspawn
    {2494.894531, -1688.636352, 13.930054,90.0}, // Randomspawn
    {2057.295654, 843.364379, 6.703125,90.0}, // Randomspawn
    {-1984.846069, 172.829696, 27.687500,90.0}
};
    new rand = random(sizeof(RandomSpawn));
    // SetPlayerPos to the random spawn data
    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    // SetPlayerFacingAngle to the random facing angle data
    SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);}
SetPlayerHealth(playerid,100);
return 1;
}

45
Szkript kérések / Teleport reakció teszt kérés
« Dátum: 2014. Június 22. - 10:33:25 »
Sziasztok
Valaki tudna nekem linkelni egy teleport reakció tesztet?
6 percenként írja ki pl hogy \"Teleport Reakció:Aki a leghamarabb elteleportál ide: /ls az nyer x dollárt és y pontot\"
És ha valaki elsõként elteleportálna oda az megnyerné a pénzt meg a pontot :)
UI:Természetesen \"nem ls\" hanem elõre megadott teleportokból választana

Oldalak: 1 2 [3] 4 5
SimplePortal 2.3.7 © 2008-2024, SimplePortal