Szerző Téma: Itt kérdezz warningot/error -t!  (Megtekintve 126238 alkalommal)

Itt kérdezz warningot/error -t!
« Válasz #675 Dátum: 2014. Szeptember 17. - 16:40:21 »
0 Show voters
   if(strcmp(cmd, \"/musicfm\", true) == 0 || strcmp(cmd, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
}

 
Tessék itt van Nátha.

Nem elérhető huhboy

  • 894
  • huhboy
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #676 Dátum: 2014. Szeptember 17. - 16:42:33 »
0 Show voters

if(strcmp(cmdtext, \"/musicfm\", true) == 0 || strcmp(cmdtext, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
}

 
ebebn tuti nincs hiba....

Itt kérdezz warningot/error -t!
« Válasz #677 Dátum: 2014. Szeptember 17. - 16:43:41 »
0 Show voters
Idézetet írta: JustaCube date=1410964953\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic


if(strcmp(cmdtext, \"/musicfm\", true) == 0 || strcmp(cmdtext, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
}

 
ebebn tuti nincs hiba....
 
Nekem pont
   if(strcmp(cmdtext, \"/musicfm\", true) == 0 || strcmp(cmdtext, \"/mf\", true) == 0)

 
ezt erroroza.

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #678 Dátum: 2014. Szeptember 17. - 16:43:57 »
0 Show voters
Szerintem meg így:
 
if(strcmp(cmd, \"/musicfm\", true) == 0 || strcmp(cmd, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
return 1;
}

Itt kérdezz warningot/error -t!
« Válasz #679 Dátum: 2014. Szeptember 17. - 16:44:38 »
0 Show voters
Idézetet írta: Nátha date=1410965037\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
Szerintem meg így:
 
if(strcmp(cmd, \"/musicfm\", true) == 0 || strcmp(cmd, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
return 1;
}

 

Megpróbálom

Dupla hozzászólás automatikusan összefûzve. ( [time]2014. szeptember 17. 16:52:23[/time] )


Szerintem meg így:
 
if(strcmp(cmd, \"/musicfm\", true) == 0 || strcmp(cmd, \"/mf\", true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
return 1;
}

 

[/quote]
 
C:\\Documents and Settings\\Tupak PC\\Asztal\\Defensive\\gamemodes\\fivelife.pwn(66622) : error 010: invalid function or declaration
C:\\Documents and Settings\\Tupak PC\\Asztal\\Defensive\\gamemodes\\fivelife.pwn(66625) : error 010: invalid function or declaration

 
Igy most két errorom van :/
 
66622|if(strcmp(cmd, \"/musicfm\", true) == 0 || strcmp(cmd, \"/mf\', true) == 0)
66623| {
66624|   PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\");
66625|   return 1;
66626| }
 
Spoiler for Hiden:
66622|66623|66624|66624|66625|66626| ezek a sor szám!Nincs oda írva
« Utoljára szerkesztve: 2014. Szeptember 17. - 16:54:22 írta TupaK.# »

Nem elérhető huhboy

  • 894
  • huhboy
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #680 Dátum: 2014. Szeptember 17. - 16:55:00 »
0 Show voters
az elõzõ néhány sorban lesz egy rossz lezárás -.-
másold az elõtte lévõ néhány sort....

Itt kérdezz warningot/error -t!
« Válasz #681 Dátum: 2014. Szeptember 17. - 16:57:49 »
0 Show voters
Idézetet írta: JustaCube date=1410965700\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
az elõzõ néhány sorban lesz egy rossz lezárás -.-
másold az elõtte lévõ néhány sort....
 


public SzerverNev()
{
new rand = random(7);
    switch(rand)
    {
        case 0: SendRconCommand(\"hostname [HUN]Five Life RPG .:Éld itt a Virtuális életed:.\");
        case 1: SendRconCommand(\"hostname [HUN]Five Life RPG .:The Virtual Worlds:.\");
case 2: SendRconCommand(\"hostname [HUN]Five Life RPG .:The RolePlay:.\");
case 3: SendRconCommand(\"hostname [HUN]Five Life RPG .:Egyedi mappolások:.\");
case 4: SendRconCommand(\"hostname [HUN]Five Life RPG .:Egyedi kidolgozás:.\");
}
return 1;
}

 
Tessék
[mod]Javítottam helyetted a

taget

tagre![/mod]
« Utoljára szerkesztve: 2014. Szeptember 17. - 19:29:17 írta Dfoglalo »

Nem elérhető huhboy

  • 894
  • huhboy
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #682 Dátum: 2014. Szeptember 17. - 16:59:30 »
0 Show voters
a parancs elõtti néhány sort, nem az \"OnPlayerCommandText\" elõttit.
vagy ha pont ez van elõtte, akkor rossz helyen van, az a baja.......

Itt kérdezz warningot/error -t!
« Válasz #683 Dátum: 2014. Szeptember 17. - 17:01:59 »
0 Show voters
Idézetet írta: JustaCube date=1410965970\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
a parancs elõtti néhány sort, nem az \"OnPlayerCommandText\" elõttit.
vagy ha pont ez van elõtte, akkor rossz helyen van, az a baja.......
 
Oké.
Akkor a parancsok közzé írjam?

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #684 Dátum: 2014. Szeptember 17. - 17:02:39 »
0 Show voters
Ha eddig nem oda írtad akkor igen oda.
De a lezárásokra figyelj oda.

Nem elérhető huhboy

  • 894
  • huhboy
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #685 Dátum: 2014. Szeptember 17. - 17:03:03 »
0 Show voters
:wall:  :crybaby:
mivel parancs, igen.

Itt kérdezz warningot/error -t!
« Válasz #686 Dátum: 2014. Szeptember 17. - 17:04:11 »
0 Show voters
Idézetet írta: JustaCube date=1410966183\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22125\" data-ipsquote-contentclass=\"forums_Topic
:wall:  :crybaby:
mivel parancs, igen.
 

Ha eddig nem oda írtad akkor igen oda.
De a lezárásokra figyelj oda.
 
[/quote]
Akkor ode irom.
Mert a sol leg aljára írtam.

Dupla hozzászólás automatikusan összefûzve. ( 2014. Szeptember 17. - 17:14:05 )

Sikerült köszönöm a segitséget!!!
« Utoljára szerkesztve: 2014. Szeptember 17. - 17:14:05 írta TupaK.# »

Itt kérdezz warningot/error -t!
« Válasz #687 Dátum: 2014. Szeptember 17. - 18:03:29 »
0 Show voters
forward SzerverNev();

 
parancsolj mert errort vagy is warningot fog dobni de ezt tedd be és jó
[mod]Javítottam helyetted az - egyébként hibásan lerakott -



taget

tagre![/mod]
« Utoljára szerkesztve: 2014. Szeptember 17. - 19:30:11 írta Dfoglalo »

Nem elérhető BackUP

  • 908
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #688 Dátum: 2014. Szeptember 17. - 18:15:27 »
0 Show voters
Nem biztos, hogy errort fog dobini, maximum warningot. Azt sem tudhatjuk, hogy nem használta, mivel nem muszáj a függvény tetejére(én a mód tetejére szoktam) tenni.
Warning mellett is hibátlanul mûködik.

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
Itt kérdezz warningot/error -t!
« Válasz #689 Dátum: 2014. Szeptember 17. - 18:29:46 »
0 Show voters
A Goudlyne RPG módot használja, és abban a forward SzerverNev(); a mód elején van

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal