Ok so, I've been having some trouble where when a bot dies its suposed to add a variable to the player and display it. Well the trouble is... It just doesn't work. I added some code where it will display "Test" when you kill the bot but it doesn't show. This is an edit of McTwists CityRP so it would help if I could have the name of the variable for money aswell. Here is my code.
function botstandardarmor::onDeath(%this, %obj, %source, %pos, %damage, %type)
{
if (%client.isInRP())
%OrcGold = 3;
%client.RPData.value += %OrcGold;
}
I added some random stuff to see if it would work but no dice. Thanks!