Jump to content

Question

Posted

Salut, am si eu o problema cu niste scripturi am bagat in Gm asta

if(dialogid == FIGHTMENU)

{

if(response)

{

if(listitem == 0)

{

SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);

SendClientMessage(playerid, COLOR_GREEN, " You now know how to box !");

}

if(listitem == 1)

{

SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);

SendClientMessage(playerid, COLOR_GREEN, " You now know how to fight better !");

}

if(listitem == 2)

{

    SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);

    SendClientMessage(playerid, COLOR_GREEN, " You now know how to fight better !");

}

if(listitem == 3)

{

SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);

SendClientMessage(playerid, COLOR_GREEN, " You now know how to fight better !");

}

if(listitem == 4)

{

    SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);

    SendClientMessage(playerid, COLOR_GREEN, " You now know how to fight better !");

}

if(listitem == 5)

{

SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);

}

}

}

Dar imi da error laif(listitem == 1) if(listitem == 2) if(listitem == 3) if(listitem == 4) if(listitem == 5)

Cum sa fac sa nu mai dea error?

6 answers to this question

Recommended Posts

Posted

Uite, ma C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13718) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13720) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13722) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13727) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13732) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13737) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13742) : error 010: invalid function or declaration

C:\DOCUME~1\Alex\Desktop\LFB\GAMEMO~1\LOFTBU~1.PWN(13747) : error 010: invalid function or declaration

Guest
This topic is now closed to further replies.
×
×
  • 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.