30.05.2011, 06:09
pawn Код:
if (strcmp("/neon", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid) && IsPlayerInRangeOfPoint(playerid, 2.0, 2405.4531, 1022.8162, 10.4792)) return SendClientMessage(playerid, COLOR_WHITE, " You are not the driver");
{
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Choose your...")
}
}
return 1;
}