SA-MP Forums Archive
Code Error help - 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: Code Error help (/showthread.php?tid=551879)



Code Error help - LuisPark - 21.12.2014

Help me please
IT have some error, here is the code

PHP код:
CMD:panels(playeridparams[])
{
    if (!
IsACop(playerid))
    {
    
SendClientMessageEx(playerid,COLOR_GREY,"ban khong a law enforcement officer.");
    }
    if (!
IsPlayerInRangeOfPoint(playerid201479.1448,-1675.6207,14.0469))
    
SendClientMessageEx(playeridCOLOR_GREY"Ban khong o trong pershing square.");
    }
    
ShowPlayerDialog(playeridPANELDIALOG_STYLE_LIST"Security Panel""Operate""Cancel");
    }
    return 
1;




Re: Code Error help - 1fret - 21.12.2014

Show the error that you got


Re: Code Error help - UltraScripter - 21.12.2014

pawn Код:
ShowPlayerDialog(playerid, PANEL, DIALOG_STYLE_LIST, "Security Panel", "You had to add more text hare", "Operate", "Cancel");