19.08.2013, 22:13
Код:
if(strcmp(cmd, "/wankoff", true) == 0) {
// Get the dance style param
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /wankoff [style 1-3]");
return 1;
}
wankstyle = strval(tmp);
if(wankstyle < 1 || wankstyle > 3) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /wankoff [style 1-3]");
return 1;
}
if(wankstyle == 1) {
ApplyAnimationEx(playerid,"PAULNMAC","wank_in",4.0,1,1,1,1,0);
} else if(wankstyle == 2) {
ApplyAnimationEx(playerid,"PAULNMAC","wank_loop",4.0,1,1,1,1,0);
} else if(wankstyle == 3) {
ApplyAnimationEx(playerid,"PAULNMAC","wank_out",4.0,1,1,1,1,0);
}
return 1;
}

