28.10.2011, 10:38
i'm making Gangwar GAMEMODE.
The Admin System i was working on is
for my Gangwar Gamemode.
Now I need help with my Dialog the dialog
is for all teams section buying menu but
i need help every menu it show the tittle up like this
"Ballas Shop" instead of the team name.
Please help me up
CODE:
The Admin System i was working on is
for my Gangwar Gamemode.
Now I need help with my Dialog the dialog
is for all teams section buying menu but
i need help every menu it show the tittle up like this
"Ballas Shop" instead of the team name.
Please help me up
CODE:
pawn Код:
if(dialogid == PISTOLS)
{
if(!response)
{
ShowPlayerDialog(playerid,BALLASSHOP,DIALOG_STYLE_LIST,"Ballas Shop","Pistols\nExplotion\nShotgun\nRifles\nOther Weaps","Buy", "Exit");
return 1;
}
switch(listitem)
{
case 0:
{
if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, COLOR_RED, "You don't have enough money");
GivePlayerMoney(playerid, -5000);
GivePlayerWeapon(playerid, 22,5000);
SendClientMessage(playerid, COLOR_GREEN, "9mm Bought!");
}
case 1:
{
if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, COLOR_RED, "You don't have enough money");
GivePlayerMoney(playerid, -5000);
GivePlayerWeapon(playerid, 24,5000);
SendClientMessage(playerid, COLOR_GREEN, "Desert Eagle Bought!");
}
case 2:
{
if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid, COLOR_RED, "You don't have enough money");
GivePlayerMoney(playerid, -5000);
GivePlayerWeapon(playerid, 23,5000);
SendClientMessage(playerid, COLOR_GREEN, "Silenced 9mm Bought!");
}
}
}