SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 18/09/2010, 07:42 AM   #1
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Problem with Duel system

Problem solved

Last edited by RenisiL; 19/09/2010 at 01:38 PM.
RenisiL is offline  
Old 18/09/2010, 08:06 AM   #2
Retardedwolf
High-roller
 
Retardedwolf's Avatar
 
Join Date: Jun 2009
Posts: 1,467
Reputation: 60
Default Re: Problem with Duel system

Code:
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;
    }
}
Retardedwolf is offline  
Old 18/09/2010, 08:22 AM   #3
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Re: Problem with Duel system

No problem not with } simbol, but problem with PvpAtmesta( playerid, pid ); << it requires a pid
RenisiL is offline  
Old 18/09/2010, 09:17 AM   #4
pen_theGun
Big Clucker
 
pen_theGun's Avatar
 
Join Date: Jan 2008
Posts: 179
Reputation: 0
Default Re: Problem with Duel system

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

>>>>
stock PvpAtmesta( playerid, pid );
__________________



pen_theGun is offline  
Old 18/09/2010, 10:02 AM   #5
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Re: Problem with Duel system

Stock but still the Same problem, same error
RenisiL is offline  
Old 19/09/2010, 12:52 PM   #6
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Re: Problem with Duel system

Bump ))
RenisiL is offline  
Old 19/09/2010, 12:56 PM   #7
Retardedwolf
High-roller
 
Retardedwolf's Avatar
 
Join Date: Jun 2009
Posts: 1,467
Reputation: 60
Default Re: Problem with Duel system

What error does it give?
Code:
rror 017: undefined symbol "PvpAtmesta"
?

It should be fixed most probably a spelling error or typo
Retardedwolf is offline  
Old 19/09/2010, 01:11 PM   #8
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Re: Problem with Duel system

it requires a [pid] as [playerid]
RenisiL is offline  
Old 19/09/2010, 01:13 PM   #9
MadeMan
High-roller
 
MadeMan's Avatar
 
Join Date: Jun 2007
Posts: 3,488
Reputation: 256
Default Re: Problem with Duel system

pawn Code:
PvpAtmesta( playerid, PvpZaidejoId[ playerid ] );
MadeMan is offline  
Old 19/09/2010, 01:37 PM   #10
RenisiL
Huge Clucker
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 472
Reputation: 4
Default Re: Problem with Duel system

Yes nice idea, thanks [problems solved]
RenisiL is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Duel System DKN | /duel [playerid] ipsBruno Filterscripts 10 22/05/2018 02:55 AM
[FilterScript] [FS] Notime's Duel System notime Filterscripts 43 13/06/2017 12:46 PM
[NEED]I need AAD duel system Nightmare[TR] Help Archive 5 30/04/2010 08:29 PM
Duel System [EnergY] Help Archive 1 21/03/2010 05:12 PM
duel system _ReloadeD_ Help Archive 3 27/09/2009 11:15 AM


All times are GMT. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.