06.01.2011, 14:07
Hi. I got this problem: when i talk i can see myself doing the animation, but i cant see others players doing the animation, also they cant see me doing the animation either. Any ideas?
The code:
BTW, another problem here:
I want to remove players weapon by giving him that weapon with 0 ammo, i tried this code:
But it doesnt work.
Thanks in advice!
The code:
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
new Length = strlen(text);
new aTime = Length*100;
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,0,0,aTime);
}
BTW, another problem here:
I want to remove players weapon by giving him that weapon with 0 ammo, i tried this code:
pawn Код:
new wID = GetPlayerWeapon(playerid);
GivePlayerWeapon(playerid,wID,0);
Thanks in advice!