20.03.2014, 05:44
pawn Код:
if(dialogid == DIALOG_NWEAPONS)
{
if(response)
{
if(listitem == 0)
{
GivePlayerWeapon(playerid, 9 , 1);
}
if(listitem == 1)
{
GivePlayerWeapon(playerid, 22, 3000);
}
if(listitem == 2)
{
GivePlayerWeapon(playerid, 23, 3000);
}
if(listitem == 3)
{
GivePlayerWeapon(playerid, 24 , 3000);
}
if(listitem == 4)
{
GivePlayerWeapon(playerid, 25 , 3000);
}
if(listitem == 5)
{
GivePlayerWeapon(playerid, 26 , 3000);
}
if(listitem == 6)
{
GivePlayerWeapon(playerid, 27 , 3000);
}
if(listitem == 7)
{
GivePlayerWeapon(playerid, 28, 3000);
}
if(listitem == 8)
{
GivePlayerWeapon(playerid, 29 , 3000);
}
if(listitem == 9)
{
GivePlayerWeapon(playerid, 30, 3000);
}
if(listitem == 10)
{
GivePlayerWeapon(playerid, 31, 3000);
}
if(listitem == 11)
{
GivePlayerWeapon(playerid, 32 , 3000);
}
if(listitem == 12)
{
GivePlayerWeapon(playerid, 33 , 3000);
}
if(listitem == 13)
{
GivePlayerWeapon(playerid, 34 , 3000);
}
}
}