25.02.2013, 03:19
Lol..
Change return 0 to return 1;
pawn Код:
if(dialogid == DIALOG_WEAPONS)
{
if(response)
{
if(listitem == 0)
{
GivePlayerWeapon(playerid, WEAPON_CHAINSAW, 1);
}
if(listitem == 1)
{
GivePlayerWeapon(playerid, WEAPON_GRENADE, 99999);
}
if(listitem == 2)
{
GivePlayerWeapon(playerid, WEAPON_TEARGAS, 99999);
}
if(listitem == 3)
{
GivePlayerWeapon(playerid, WEAPON_MOLTOV, 99999);
}
if(listitem == 4)
{
GivePlayerWeapon(playerid, WEAPON_COLT45, 99999);
}
if(listitem == 5)
{
GivePlayerWeapon(playerid, WEAPON_SILENCED, 99999);
}
if(listitem == 6)
{
GivePlayerWeapon(playerid, WEAPON_DEAGLE, 99999);
}
if(listitem == 7)
{
GivePlayerWeapon(playerid, WEAPON_SHOTGUN, 99999);
}
if(listitem == 8)
{
GivePlayerWeapon(playerid, WEAPON_SAWEDOFF, 99999);
}
if(listitem == 9)
{
GivePlayerWeapon(playerid, WEAPON_SHOTGSPA, 99999);
}
if(listitem == 10)
{
GivePlayerWeapon(playerid, WEAPON_UZI, 99999);
}
if(listitem == 11)
{
GivePlayerWeapon(playerid, WEAPON_MP5, 99999);
}
if(listitem == 12)
{
GivePlayerWeapon(playerid, WEAPON_AK47, 99999);
}
if(listitem == 13)
{
GivePlayerWeapon(playerid, WEAPON_M4, 99999);
}
if(listitem == 14)
{
GivePlayerWeapon(playerid, WEAPON_TEC9, 99999);
}
if(listitem == 15)
{
GivePlayerWeapon(playerid, WEAPON_RIFLE, 99999);
}
if(listitem == 16)
{
GivePlayerWeapon(playerid, WEAPON_SNIPER, 99999);
}
if(listitem == 17)
{
}
}
return 1;
}
/////////// >= return 0;
}