03.02.2009, 14:36
You can use
Use it like
Sorry, was too lazy to look for the weapon ID myself :P It's on the wiki.
You could also just change
with
Don't know that last thing for sure though, didn't really look into your script =)
Код:
GetPlayerWeapon(playerid)
pawn Код:
if(GetPlayerWeapon(playerid) == [Insert Teargas Weapon ID Here])
{
Your code...
}
You could also just change
pawn Код:
if(!IsPlayerInAnyVehicle(playerid))
{
pawn Код:
if(!IsPlayerInAnyVehicle(playerid) && GetPlayerWeapon(playerid) == [Insert Teargas Weapon ID Here])
{

