17.05.2014, 09:00
pawn Код:
//-------------------------------[NEON]--------------------------------------------
if(strcmp(cmdtext, "/neon", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1097.5781,-1188.2579,18.3388))
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
if(PlayerInfo[playerid][pNfs] > 0)
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Pick neon color", "Neon: Blue, Cost: 5.000$\nNeon: Red, Cost: 5.000$\nNeon: Green, Cost: 5.000$\nNeon: White, Cost: 5.000$\nNeon: Pink, Cost: 5.000$\nNeon: Yellow, Cost: 5.000$\nRemove All Neon, Cost: 10.000$", "Select", "Cancel");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
}
else SendClientMessage(playerid, COLOR_GREY, "You are not a NFS Club member!");
}
else SendClientMessage(playerid, COLOR_GREY, "You are not driving any vehicle!");
}
return 1;
}