SA-MP Forums Archive
problem with .amx - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: problem with .amx (/showthread.php?tid=485758)



problem with .amx - crazyze - 05.01.2014

Hello sa-mp.com , i`m glad i found you and il be glad if someone can help me with my problem .

put a new comand on my GM and when i compile the .amx apear 0Kb.

this is the new comand that i talk about , what is wrong herre ?

Код:
/----------------------------------[Factiuni]-----------------------------------------------
    if(strcmp(cmd, "/factiuni", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
		    ShowPlayerDialog(playerid,13310,DIALOG_STYLE_MSGBOX,"Factiuni SAMP.PONS.RO:","{4B35F2}1.Politia Romana\n{2205FD}2.F.B.I\n3.National Guard\n{F33F54}4.Medic\n{27A6B7}5.The Mafia\n{666769}6.The Triads\n{05D167}7.Tractari AUTO\n{B81E23}8.Hitman Agency\n{FA7DC2}9.News Reporter\n{FFF801}10.Taxi\n{14E8CF}11.License Faction\n{0EC40E}12.Mayor-PRIMAR\n{FF8400}13.Los Santos Vagos\n{FF00C4}14.Varios Los Astecas\n{D55009}15.Ballas\n{A907C9}16.Groove\n{FFFFFF}17.NFS-Club\n{FFFFFF}18.NRG-Club\n{FFFFFF}19.BIKER-Club\n ","Ok","");

     }
		return 1;
	}



Re: problem with .amx - ivanorezac - 05.01.2014

Try to change
Код:
/----------------------------------[Factiuni]-----------------------------------------------
with
Код:
//----------------------------------[Factiuni]-----------------------------------------------



Re: problem with .amx - crazyze - 06.01.2014

i change but is the same.......


Re: problem with .amx - Eth - 06.01.2014

can you show more please?


Re: problem with .amx - Tingesport - 06.01.2014

pawn Код:
/*----------------------------------[Factiuni]-----------------------------------------------*/
    if(strcmp(cmd, "/factiuni", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            ShowPlayerDialog(playerid,13310,DIALOG_STYLE_MSGBOX,"Factiuni SAMP.PONS.RO:","{4B35F2}1.Politia Romana\n{2205FD}2.F.B.I\n3.National Guard\n{F33F54}4.Medic\n{27A6B7}5.The Mafia\n{666769}6.The Triads\n{05D167}7.Tractari AUTO\n{B81E23}8.Hitman Agency\n{FA7DC2}9.News Reporter\n{FFF801}10.Taxi\n{14E8CF}11.License Faction\n{0EC40E}12.Mayor-PRIMAR\n{FF8400}13.Los Santos Vagos\n{FF00C4}14.Varios Los Astecas\n{D55009}15.Ballas\n{A907C9}16.Groove\n{FFFFFF}17.NFS-Club\n{FFFFFF}18.NRG-Club\n{FFFFFF}19.BIKER-Club\n ","Ok","");

     }
        return 1;
    }



Re: problem with .amx - Astralis - 06.01.2014

It compiles with 0 kb, because it is crashing so try to remember the last placed you have edited and look there.