24.02.2013, 22:35
(
Последний раз редактировалось Ananisiki; 15.12.2013 в 17:36.
)
^^^^^^^^
#define WEAPON_CHAINSAW 9
WeaponDialog.pwn(10) : warning 201: redefinition of constant/macro (symbol "WEAPON_CHAINSAW")
|
GivePlayerWeapon(playerid, WEAPON_CHAINSAW , 1);
GivePlayerWeapon(playerid, 6 , 1);
#define DIALOG_WEAPONS 544
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;
}