04.03.2012, 12:45
THE CMD:
OnplayerCommandText:
pawn Код:
dcmd_v(playerid, params[])
{
#pragma unused params
//if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xF60000AA, "You Need To Be An Admin To Use This Command");
//else
ShowPlayerDialog(playerid, CARMENU, DIALOG_STYLE_LIST, "Vehicle Selection Menu","Bikes\nCars 1 [A-E]\nCars 2 [F-P]\nCars 3 [P-S]\nCars 4 [S-Z]\nHelicopters\nPlanes\nBoats\nTrains\nTrailers\nRC Vehicles + Vortex", "Select", "Cancel");
return 1;
}
pawn Код:
dcmd(v, 7, cmdtext);