Command only in interior, how to make?
#1

Hello!
I have following command, and I want players can do it only in interior 4.

pawn Код:
if(strcmp(cmd, "/menu", true) == 0) {
        SendClientMessage(playerid, COLOR_GREEN,"Restaurant Menu:");
        SendClientMessage(playerid, COLOR_YELLOW,"Two Big Stakes With Potato (10.00$) = /bswp");
        SendClientMessage(playerid, COLOR_ORANGE,"Salmon with salad and juice (7.50$)");
        return 1;
    }
Reply
#2

If(GetPlayerInterior(playerid) == 4)
Reply
#3

Thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)