17.03.2009, 19:04
Hi,
I really really don't get what I'm doing wrong.
This should only display when he's in ammunation (which is interior ID : 7).
When I type /weapmenu in interior 0 (outside) it says what it should. (You must be blabla).
Altough when I'm in /ammunation it's not doing anything. Nor showing the menu, nor showing the message.
Here's a little screenshot:
NOTE: The grey message and the you will be teleported in 5 seconds were sent when I was in the normal world (this isn't a bug).
Please help me!
Thanks
EDIT: The intendation keeps fucking when I post this.
I really really don't get what I'm doing wrong.
Код:
if(strcmp(cmd, "/weapmenu", true) == 0) { if(GetPlayerInterior(playerid)== 7) { ShowMenuForPlayer(Weapons,playerid); SendClientMessage(playerid, COLOR_WHITE,"WHY ISNT THIS MENU WORKING"); } if(GetPlayerInterior(playerid)==0) { SendClientMessage(playerid, COLOR_GREY,"You must be in /ammunation to use this command!"); } return 1; }
When I type /weapmenu in interior 0 (outside) it says what it should. (You must be blabla).
Altough when I'm in /ammunation it's not doing anything. Nor showing the menu, nor showing the message.
Here's a little screenshot:
NOTE: The grey message and the you will be teleported in 5 seconds were sent when I was in the normal world (this isn't a bug).
Please help me!
Thanks
EDIT: The intendation keeps fucking when I post this.