Szerző Téma: beszéd anim  (Megtekintve 507 alkalommal)

beszéd anim
« Dátum: 2011. November 02. - 11:12:49 »
0 Show voters
sziasztok
megcsináltam h ha vlaki ír a chat -be akk lejátszik egy beszéd animot de nemhadja abba :D
hogy tudom megcsinálni ?
[pawn]format(string, sizeof(string), \"%s Mondja: %s\", sendername, result);
                   ProxDetector(10.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                            format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d] %s Mondja: %s\",y,m,d,h,mi,s,nev,result);
                            ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,0,0,1,1);
                  LoOoG(stringx);
                           new resultstring[64];
                  format(resultstring,sizeof(resultstring),\"\\n%s\", result);
                  SetPlayerChatBubble(playerid,resultstring,COLOR_GREEN, 80.0, 10000);[/pawn]

Nem elérhető [sdc]skyline

  • 1333
  • ςκyΙιηε
    • Profil megtekintése
beszéd anim
« Válasz #1 Dátum: 2011. November 02. - 11:42:29 »
+1 Show voters
[pawn]format(string, sizeof(string), \"%s Mondja: %s\", sendername, result);
                   ProxDetector(10.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                            format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d] %s Mondja: %s\",y,m,d,h,mi,s,nev,result);
                            ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,0,0,0,5000,1);//itt az 5000 az = 5 MP,  és 5 MP leteltével haggya abba az animot
                  LoOoG(stringx);
                           new resultstring[64];
                  format(resultstring,sizeof(resultstring),\"\\n%s\", result);
                  SetPlayerChatBubble(playerid,resultstring,COLOR_GREEN, 80.0, 10000);[/pawn]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal