problem with .amx
#1

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;
	}
Reply
#2

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

i change but is the same.......
Reply
#4

can you show more please?
Reply
#5

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;
    }
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)