a little help
#1

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;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)