Problem with Duel system
#1

Problem solved
Reply
#2

Код:
if( dialogid == DIALOG_PVP )
    {
       
        if( ! response )
	    {
                PvpAtmesta( playerid, pid );
	    }
        }
        else
        {
            Pvp = true;

            new
			    name  [ MAX_PLAYER_NAME ],
			    PvpStr[ 44 ];

            GetPlayerName    ( playerid, name, sizeof(  name ) );
            format           ( PvpStr, sizeof( PvpStr ), "%s Įљukis primtas praљome palaukti 6 sekundes." ,name );
            SendClientMessage( PvpZaidejoId[ playerid ],0xF6F600AA, PvpStr );

            SendClientMessage( playerid,0xF6F600AA, "Ikeliamas į pvp arena..." );
            SetTimerEx       ( "PvpPrimta" ,6000,false,"ii" ,playerid, PvpZaidejoId[ playerid ] );
        }
        return 1;
    }
}
Reply
#3

No problem not with } simbol, but problem with PvpAtmesta( playerid, pid ); << it requires a pid
Reply
#4

typo?!
<<<<
sotck PvpAtmesta( playerid, pid );

>>>>
stock PvpAtmesta( playerid, pid );
Reply
#5

Stock but still the Same problem, same error
Reply
#6

Bump ))
Reply
#7

What error does it give?
Код:
rror 017: undefined symbol "PvpAtmesta"
?

It should be fixed most probably a spelling error or typo
Reply
#8

it requires a [pid] as [playerid]
Reply
#9

pawn Код:
PvpAtmesta( playerid, PvpZaidejoId[ playerid ] );
Reply
#10

Yes nice idea, thanks [problems solved]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)