Skip to content

Commit

Permalink
working player attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Oct 6, 2023
1 parent 2dbda9f commit 76edd3d
Show file tree
Hide file tree
Showing 6 changed files with 347 additions and 61 deletions.
9 changes: 9 additions & 0 deletions berobot_storage.sp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,16 @@ public any Native_AddRobot(Handle plugin, int numParams)
robot.deathtip = robotDefinition.deathtip;
robot.weaponsound = robotDefinition.weaponsound;
robot.footstep = robotDefinition.footstep;

//New stuff for the config file
//Modify this to only store what's needed to view in the menu
//The rest will be read via the config reader
robot.difficulty = robotDefinition.difficulty;
robot.health = robotDefinition.health;
robot.model = robotDefinition.model;
robot.difficulty = robotDefinition.difficulty;
robot.scale = robotDefinition.scale;
robot.tips = robotDefinition.tips;

PrivateForward privateForward = new PrivateForward(ET_Single, Param_Cell);
privateForward.AddFunction(plugin, callback);
Expand Down
Loading

0 comments on commit 76edd3d

Please sign in to comment.