22.07.2010, 20:07
i have a problem with my script i want when player do /ya first anime will be run then when the first one is over auto goto the sacend anime
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { new idx; new cmd[256]; cmd = strtok(cmdtext, idx); if(strcmp(cmd, "/ya", true) == 0) { for(new i=1 ;i<2 ;i++) { if(i==1) {ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_STAR T_W",4.0, 0, 0, 0, 0,0); else ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_ W ",4.0, 0, 0, 0, 0,0);} } } return 1; } |