09.09.2013, 14:13
Use the variable under OnPlayerKeyStateChange, for example
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
pawn Код:
if(GetPVarInt(giveplayerid, "BeingDragged") == 1)
{
//set the variable to 0
}