/dance1
#4

pawn Код:
#include <sscanf2>
#include <zcmd>

#define SCM SendClientMessage
#define COLOR_ERROR 0x808080FF

CMD:dance(playerid,params[])
{
new style;
if(sscanf(params,"d",style)) return SCM(playerid,COLOR_ERROR,"Usage: /dance [1-4]");
if(style<1||style>4) return SCM(playerid,COLOR_ERROR,"Use a style between 1 and 4.");
SetPlayerSpecialAction(playerid, style+4);
return 1;
}
HERE the sscanf2 https://sampforum.blast.hk/showthread.php?tid=120356

HERE the zcmd https://sampforum.blast.hk/showthread.php?tid=91354
Reply


Messages In This Thread
/dance1 - by Another1 - 10.11.2013, 11:41
Re: /dance1 - by DobbysGamertag - 10.11.2013, 11:44
Re: /dance1 - by erminpr0 - 10.11.2013, 11:47
Re: /dance1 - by NeMoK - 10.11.2013, 22:50

Forum Jump:


Users browsing this thread: 4 Guest(s)