07.04.2012, 14:26
My Command
How To Make This Command for Everyone if player is in car
For Now this is for only a driver
pawn Код:
CMD:raadio(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid) == 1 && GetPlayerVehicleSeat(playerid) == 0)
{
ShowPlayerDialog(playerid, 9998, DIALOG_STYLE_LIST, "Raadiojaamad", "SkyPlus \nPowerHitRadio\nStar FM \nRaadio vдlja", "Vali", "Sule");
}
else
{
SendClientMessage(playerid, 0xFF330000, "SERVER: Sa pead olema autos juhikohal, et seda commandi kasutada.");
return 1;
}
return 1;
}
For Now this is for only a driver