18.12.2013, 18:19
pawn Код:
CMD:buyparts(playerid,params[])
{
new string[64];
if(IsPlayerInRangeOfPoint(playerid, 5.0, -2230.5210,2560.3955,1.8223))
{
format(string, sizeof(string), "Illegal Gun Part Purchasing.");
ShowPlayerDialog(playerid, DIALOG_PARTLIST, DIALOG_STYLE_LIST, string, "{FF0000}Grips\n{FF0000}Frames\n{FF0000}Barrels\n{FF0000}Random Packages", "Select", "Cancel");
}
return 1;
}
It does it, all the time and I've absolutely no idea. But the /buy dialog doesn't lag. Can someone please advise me?