#1

I get this anyone can help me out? thanks in advance

Код:
./includes/callbacks.pwn(6683) : warning 202: number of arguments does not match definition
./includes/callbacks.pwn(6683) : warning 202: number of arguments does not match definition
./includes/callbacks.pwn(6683) : warning 202: number of arguments does not match definition
./includes/callbacks.pwn(6683) : warning 202: number of arguments does not match definition

PHP код:
    line 6683            else ProxDetector(30.0playeridstringCOLOR_FADE), SetPlayerChatBubble(playeridstringCOLOR_WHITE10.0strlen(text)*100);
                if(
GetPVarInt(playerid"Cuffed") == 0)
                {
                     switch(
GetPVarInt(playerid"ChatStyle"))
                       {
                         case 
0ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
                           case 
1ApplyAnimation(playerid"GANGS""prtial_gngtlkA"3.1,0,1,1,1,1);
                           case 
2ApplyAnimation(playerid"GANGS""prtial_gngtlkB"3.1,0,1,1,1,1);
                         case 
3ApplyAnimation(playerid"GANGS""prtial_gngtlkC"3.1,0,1,1,1,1);
                          case 
4ApplyAnimation(playerid"GANGS""prtial_gngtlkD"3.1,0,1,1,1,1);
                         case 
5ApplyAnimation(playerid"GANGS""prtial_gngtlkE"3.1,0,1,1,1,1);
                           case 
6ApplyAnimation(playerid"GANGS""prtial_gngtlkF"3.1,0,1,1,1,1);
                         case 
7ApplyAnimation(playerid"GANGS""prtial_gngtlkG"3.1,0,1,1,1,1);
                          case 
8ApplyAnimation(playerid"GANGS""prtial_gngtlkH"3.1,0,1,1,1,1);
                       }
                    new 
time=strlen(text)*100;
                       
SetTimerEx("StopTalking",time,0,"i",playerid); 
Reply
#2

Код:
ProxDetector(30.0, playerid, string, COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE)
Reply
#3

Quote:
Originally Posted by Lucky13
Посмотреть сообщение
Код:
ProxDetector(30.0, playerid, string, COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE)
What about this

SetPlayerChatBubble(playerid, string, COLOR_WHITE, 10.0, strlen(text)*100);
Reply
#4

This is how the code should look like:

Код:
else 
{
           ProxDetector(30.0, playerid, string, COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE,COLOR_FADE);
         SetPlayerChatBubble(playerid, string, COLOR_WHITE, 10.0, strlen(text)*100); 
                if(GetPVarInt(playerid, "Cuffed") == 0) 
                { 
                     switch(GetPVarInt(playerid, "ChatStyle")) 
                       { 
                         case 0: ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1); 
                           case 1: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkA", 3.1,0,1,1,1,1); 
                           case 2: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkB", 3.1,0,1,1,1,1); 
                         case 3: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkC", 3.1,0,1,1,1,1); 
                          case 4: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkD", 3.1,0,1,1,1,1); 
                         case 5: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkE", 3.1,0,1,1,1,1); 
                           case 6: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkF", 3.1,0,1,1,1,1); 
                         case 7: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkG", 3.1,0,1,1,1,1); 
                          case 8: ApplyAnimation(playerid, "GANGS", "prtial_gngtlkH", 3.1,0,1,1,1,1); 
                       } 
                    new time=strlen(text)*100; 
                       SetTimerEx("StopTalking",time,0,"i",playerid);
           }
}
Reply
#5

thx mate that works
Reply
#6

Anytime mate!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)