GSC coding help
Hey guys! Thanks for helping me with my previous post, I finally got the problem solved, now I would like to know how to do another thing in which my little knowledge of GSC limits me.
I would like to know how to code to give a special quantity of points to a player for killing someone special, for example:
I personally think that it has to do with this piece of code:
In which if a case is given, then award a different ammount of xp.
Thank you very much, I am hoping to learn from you!
I would like to know how to code to give a special quantity of points to a player for killing someone special, for example:
If player with name "x" is killed, then award 500 xp
if ( level.teamBased )
{
registerScoreInfo( "kill", 100 );
registerScoreInfo( "headshot", 100 );
registerScoreInfo( "assist", 20 );
registerScoreInfo( "suicide", 0 );
registerScoreInfo( "teamkill", 0 );
{
registerScoreInfo( "kill", 100 );
registerScoreInfo( "headshot", 100 );
registerScoreInfo( "assist", 20 );
registerScoreInfo( "suicide", 0 );
registerScoreInfo( "teamkill", 0 );
Thank you very much, I am hoping to learn from you!
