Szerző Téma: error 001: expected token: "#endif", but found "-end of file-" hiba?  (Megtekintve 3301 alkalommal)

0 Show voters
Most csináltam egy teleportot. Ezt a hibaüzenetet kaptam error 001: expected token: \"#endif\", but found \"-end of file-\"
Mi a hiba? :D
#include <a_samp>
#if defined FILTERSCRIPT
#if defined cmd
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/fegyverbolt\", cmd, true) == 0)
SetPlayerPos(playerid,165,2154.5156,942.9471,10.8203,271);
    }
    return 1;
}
#endif
« Utoljára szerkesztve: 2012. Május 09. - 21:09:04 írta kadaradam »

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #1 Dátum: 2012. Május 09. - 19:52:13 »
0 Show voters
1. nem jó helyre nyitottad Ezt a \"Segítségkérés\" fórumba kell...
2.
 
#include <a_samp>
#if defined FILTERSCRIPT
#if defined cmd
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/fegyverbolt\", cmd, true) == 0)
SetPlayerPos(playerid,165,2154.5156,942.9471,10.8203,271);
    }
    return 1;
}
return 0;
}
#endif

 
Így próbáld meg...

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #2 Dátum: 2012. Május 09. - 19:58:16 »
0 Show voters
[mod]Áthelyezve![/mod]

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #3 Dátum: 2012. Május 09. - 19:59:24 »
0 Show voters
még nem jo

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #4 Dátum: 2012. Május 09. - 20:12:49 »
0 Show voters
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/fegyverbolt\", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,2154.5156,942.9471,10.8203);
return 1;
}
return 0;
}

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #5 Dátum: 2012. Május 09. - 20:30:58 »
0 Show voters
Kösziiiiiiiiiiiiiiiiiiiiiiiiiii
:D Most jo
[mod]Téma lezárva![/mod]
« Utoljára szerkesztve: 2012. Május 09. - 21:09:21 írta kadaradam »

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #6 Dátum: 2012. Május 09. - 20:59:34 »
0 Show voters
Zárd a témát..

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #7 Dátum: 2012. Május 09. - 19:50:02 »
0 Show voters
Most csináltam egy teleportot. Ezt a hibaüzenetet kaptam error 001: expected token: \"#endif\", but found \"-end of file-\"
Mi a hiba? :D
#include <a_samp>
#if defined FILTERSCRIPT
#if defined cmd
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/fegyverbolt\", cmd, true) == 0)
SetPlayerPos(playerid,165,2154.5156,942.9471,10.8203,271);
    }
    return 1;
}
#endif
« Utoljára szerkesztve: 2012. Május 09. - 21:09:04 írta kadaradam »

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #8 Dátum: 2012. Május 09. - 19:52:13 »
0 Show voters
1. nem jó helyre nyitottad Ezt a \"Segítségkérés\" fórumba kell...
2.
 
#include <a_samp>
#if defined FILTERSCRIPT
#if defined cmd
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/fegyverbolt\", cmd, true) == 0)
SetPlayerPos(playerid,165,2154.5156,942.9471,10.8203,271);
    }
    return 1;
}
return 0;
}
#endif

 
Így próbáld meg...

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #9 Dátum: 2012. Május 09. - 19:58:16 »
0 Show voters
[mod]Áthelyezve![/mod]

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #10 Dátum: 2012. Május 09. - 19:59:24 »
0 Show voters
még nem jo

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #11 Dátum: 2012. Május 09. - 20:12:49 »
0 Show voters
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/fegyverbolt\", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,2154.5156,942.9471,10.8203);
return 1;
}
return 0;
}

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #12 Dátum: 2012. Május 09. - 20:30:58 »
0 Show voters
Kösziiiiiiiiiiiiiiiiiiiiiiiiiii
:D Most jo
[mod]Téma lezárva![/mod]
« Utoljára szerkesztve: 2012. Május 09. - 21:09:21 írta kadaradam »

error 001: expected token: "#endif", but found "-end of file-" hiba?
« Válasz #13 Dátum: 2012. Május 09. - 20:59:34 »
0 Show voters
Zárd a témát..

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal