19.06.2012, 00:47
i made a cmd and i dont know how can i make it so if im at meal and i need to be in vehicle..
pawn Код:
if(strcmp(cmd, "/meal", true) == 0)
{
if(IsPlayerInVehicle(playerid))
{
if(IsAtMeal(playerid))
{
ShowPlayerDialog(playerid,Dialog_Meal,DIALOG_STYLE_LIST,"{278227}Meal","Cheese Burger\nSuc","Selecteaza","Inchide");
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Nu esti la la Meal! !");
else
{
SendClientMessage(playerid, COLOR_GREY, " sdas !");
}
}
}