28.09.2012, 10:01
How do i check if a player is using a chainsaw?
new test[30];
format(test, sizeof test,"Animid: %d",GetPlayerAnimationIndex(playerid));
SendClientMessage(playerid,-1,test);
switch(GetPlayerAnimationIndex(playerid))
{
case (here ids): SendClientMessage(playerid,-1,"Chainsaw Animation");
}
Sorry for my bad English
So, you must put into OnPlayerUpdate this code: pawn Код:
Remove code from OnPlayerUpdate & use this to check chainsaw animation: pawn Код:
|