12.10.2011, 00:37
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/takeneon", true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neon Color", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nSpecial[Red]\nSpecial[Green]\nSpecial[Blue]\nDellete Neon[By:wizzi]", "Select", "Cancel");
}
return 1;
}
return 0;
}