Animaзгo ao olhar as horas.. -
Alguem pode me passar um cуdigo em que ao player digitar /horas automaticamente executasse uma animaзгo dele esticando o braзo e olhando para o braзo, tipo na vida real, a gente olhando pro relуgio, jб vi em vбrios server esta animaзгo!
Re: Animaзгo ao olhar as horas.. -
Re: Animaзгo ao olhar as horas.. -
pawn Код:
if (!strcmp(cmdtext, "/horas")){
new
Hour,
Minute,
Second;
gettime(Hour, Minute, Second);
new string[50];
format(string,sizeof(string),"Agora Sao %d:%d:%d",Hour,Minute,Second);
SendClientMessage(playerid,-1,string);
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1); //aqui e uma animaзao qualquer troque pela qual desejar
return true;
}
//zcmd
COMMAND:horas(playerid){
new
Hour,
Minute,
Second;
gettime(Hour, Minute, Second);
new string[50];
format(string,sizeof(string),"Agora Sao %d:%d:%d",Hour,Minute,Second);
SendClientMessage(playerid,-1,string);
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1);//aqui e uma animaзao qualquer troque pela qual desejar
return true;
}