Hi..
I'm trying to add some poitns to a player that go throu a trigger but..; it doesn't work...
I stil have the same error message :
'_score = score _this |#|':error type array, expected object
<null>,<null>
here is the script in my "score.sqs" file :
ScoreScript by Shirson
;----------------------------------------------
_Pl = _this
_name = name _Pl
_Max = 10
_Pl addscore 1 ;
_score = score _Pl;
? _score >= _Max : Goto #End_mission
hint format["%1, %2", _score, _name]
~1
exit
#end_mission
hintC format["Winner! %1, %2", _score, _name]
ForceEnd; exit
;----------------------------------------------
Help please...
FlyingDub