31.10.2012, 07:54
The dialog not shown, can anyone help me?
This is the code
This is the code
Код:
CMD:belineon(playerid, params[])
{
if(PlayerInfo[playerid][pDiamondTokens] >= 1)
{
if(IsPlayerInRangeOfPoint(playerid,3,-78.65,-1116.17,1.08) || IsPlayerInRangeOfPoint(playerid,3,1633.341064, 2192.745117, 10.820312))
{
ShowPlayerDialog(playerid, DIALOG_NEON, DIALOG_STYLE_LIST, "Pilih neon yang kamu suka","Biru\nMerah\nHijau\nPutih\nPink\nKuning\nPolice Strobe\nInterior Lights\nBack Neon\nFront neon\nUndercover Roof Light\nRemove All Neon","Select","Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "Kamu tidak sedang berada di bengkel.");
}
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "Kamu tidak memiliki Diamond Tokens.");
}
return 1;
}


