Help please!
#1

Can someone help me to get this thing right?
I want to make a walk only when pressin the up_key.
But i dont know how to end the walk.
Код:
public OnPlayerUpdate(playerid)
{
	new Keys,ud,lr;
	GetPlayerKeys(playerid,Keys,ud,lr);

	if(ud > 0) {
	
	}
	else if(ud < 0) {
		ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
	}
Reply
#2

https://sampwiki.blast.hk/wiki/ClearAnimations

ClearAnimations(playerid);
Reply
#3

I know that, but i need to put that inside that, like if i RELEASE the Up_key so the player stops walking.
I tried to do some, but didnt work.
Reply
#4

help..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)