animation issue?
#1

hi,
i included some animation cmds into my script.
But i have to type in the command twice before it does the requested animation.
heres the code:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/piss", cmdtext, true) == 0)
{
ApplyAnimation(playerid,"PAULNMAC","Piss_loop",4.1,1,1,1,1,1,1);
return 1;
}

if (strcmp("/dance", cmdtext, true) == 0)
{
ApplyAnimation(playerid,"DANCING","dance_loop",4.1,1,1,1,1,1,1);
return 1;
}

SendClientMessage(playerid, 0xAA3333AA,"This command doesn't exist!");
return 1;
}
and antoher stupid question

why dont u see any water coming out if u piss?
Ive seen it on some rp servers, so it is possible

regards.
Reply
#2

have you returned onplayercommandtext with return 0;? And try removing the == 0)
Reply
#3

i return it with

pawn Код:
SendClientMessage(playerid, 0xAA3333AA,"This command doesn't exist!");
return 1;
}
ive listened the whole OnPlayerCommandText above.
mhh, why to remove the ==0?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)