Hello all,
I created a topic already with DriftScore reset but I didnt had the solution. Maybe now there is who could help me !
I want that lapper reset the current drift score but I dont know how. I gave some solution for this but no one helped me...
Here is the codes what I tried :
then
then
Problem what we saw was the Var is read only ...
Sinanjum, Bas-Driver tried to solve that big help to me but without solution. Maybe there is who could ...
I created a topic already with DriftScore reset but I didnt had the solution. Maybe now there is who could help me !
I want that lapper reset the current drift score but I dont know how. I gave some solution for this but no one helped me...
Here is the codes what I tried :
<?php
CatchEvent OnSplit1( $userName ) # Player event
IF ( $DriftScore > 0 )
THEN
$DriftScore=0
ENDIF
IF ( $LastDriftScore > 0 )
THEN
$LastDriftScore=0
ENDIF
EndCatchEvent
?>
<?php
CatchEvent OnSplit1( $userName ) # Player event
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
IF ( $DriftScore > 0 )
THEN
$DriftScore=0;
ENDIF
IF ( $LastDriftScore > 0 )
THEN
$LastDriftScore=0;
ENDIF
?>
<?php
CatchEvent OnSplit1( $userName ) # Player event
$DriftScore = GetCurrentPlayerVar( "DriftScore" );
$LastDriftScore = GetCurrentPlayerVar( "LastDriftScore" );
IF ( $DriftScore > 0 )
THEN
SetCurrentPlayerVar( "DriftScore", 0 );
ENDIF
IF ( $LastDriftScore > 0 )
THEN
SetCurrentPlayerVar( "LastDriftScore", 0 );
ENDIF
EndCatchEvent
?>
<?php
CatchEvent OnSplit1( $userName ) # Player event
IF ( GetCurrentPlayerVar( "DriftScore" ) > "0" )
THEN
$DriftScore = 0;
SetConfigVar("DriftScore", $DriftScore);
ENDIF
IF ( GetCurrentPlayerVar( "LastDriftScore" ) > "0" )
THEN
$LastDriftScore = 0;
SetConfigVar("LastDriftScore", $LastDriftScore);
ENDIF
EndCatchEvent
?>
<?php
CatchEvent OnSplit1( $userName ) # Player event
IF ( GetCurrentPlayerVar( "DriftScore" ) > "0" )
THEN
setCurrentPlayerVar( "DriftScore", "0" );
ENDIF
IF ( GetCurrentPlayerVar( "LastDriftScore" ) > "0" )
THEN
setCurrentPlayerVar( "LastDriftScore" , "0" );
ENDIF
EndCatchEvent
?>
<?php
CatchEvent OnSplit1( $userName ) # Player event
IF ( GetCurrentPlayerVar( "DriftScore" ) > "0" )
THEN
SetUserStoredValue( "DriftScore", "0" );
ENDIF
IF ( GetCurrentPlayerVar( "LastDriftScore" ) > "0" )
THEN
SetUserStoredValue*!13703958!*( "LastDriftScore" , "0" );
ENDIF
EndCatchEvent
?>
Sinanjum, Bas-Driver tried to solve that big help to me but without solution. Maybe there is who could ...