Warning 202

Započeo Apostol, Avgust 22, 2013, 20:15:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozdrav,

Inace nisam skripter, tek pocetnik i sreÄ'ujem si jedan mod ali mi izbacuje warning koji neznam rijesit.

Ovo je kod:
C:\Users\xxxxxxxxxxxxxxxxxxxxxxxx(72399) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:          16916 bytes
Code size:          5408376 bytes
Data size:         17189260 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:22630936 bytes

1 Warning.


Kod na liniji 72399:


    {
        case '1': LoopingAnim(playerid,"PED","seat_down",4.1,0,1,1,1,0,0);     <---- OVO JE LINIJA 72399
          case '2': LoopingAnim(playerid,"MISC","seat_lr",2.0,1,0,0,0,0);
          case '3': LoopingAnim(playerid,"MISC","seat_talk_01",2.0,1,0,0,0,0);
          case '4': LoopingAnim(playerid,"MISC","seat_talk_02",2.0,1,0,0,0,0);
        default: SendClientMessage(playerid,COLOR_YELLOW,"TIP: /sit [1-4]");
    }
   
   

sad mi error javlja da ovaj BackAnim nevalja

error 017: undefined symbol "BackAnim"

sva 4 reda je tako :)

pa ako mi to nece stvarat neke probleme na modu onda ko je*e tu jednu animaciju :D

if(strcmp(cmd, "/sit", true) == 0)
    {
    if(PlayerCuffed[playerid] == 2) return SCM(playerid,COLOR_WHITE,"Stavljene su vam lisice ne mozes koristiti animacije");
    if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) { return 1; }
        if (!strlen(cmdtext[5])) return SendClientMessage(playerid,COLOR_YELLOW,"TIP: /sit [1-4]");
    switch (cmdtext[5])
    {
        case '1': LoopingAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1,0,8);
          case '2': LoopingAnim(playerid,"MISC","seat_lr",2.0,1,0,0,0,0);
          case '3': LoopingAnim(playerid,"MISC","seat_talk_01",2.0,1,0,0,0,0);
          case '4': LoopingAnim(playerid,"MISC","seat_talk_02",2.0,1,0,0,0,0);
        default: SendClientMessage(playerid,COLOR_YELLOW,"TIP: /sit [1-4]");
    }
    return 1;
    }

Stavi ovako..

case '1': LoopingAnim(playerid,"PED","seat_down",4.1,0,1,1,1,0);