if(strcmp(cmd, "/poop", true) == 0) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { ApplyAnimation(playerid,"MISC","Scratchballs_01",4.1,1,1,1,1,1); return 1; } }