Author Topic: On-death give player cash(print)  (Read 517 times)

Mostly i need help with a event.

i need it when the player on one team dies, the other team gets money.

It could be a simple event, but i still don't know some stuff with events

i'm pretty sure it isn't an event. events are for player + brick interactions you would need a mod or special weapons that add money to the player who caused the death.

well no, what i do i used to use prints to show cash, Hugums zombie defend game did have on respawn give the player moeny on print, i wanted to do this with real players

There is an onZombiedeath event for zombie spawns... but I'm not sure about onPlayerdeath... I think you can have the spawn room for each team set up so that you hit a button to get back in the fight and it adds the printcount and/or variable to a certain brick counting the enemies score... so yeah, that could be possible.

but theres the problem, what about people just joining?

Make a suggestion for onPlayerDeath.
It's do-able, I'm sure, but it can also be abused.

Maybe use the player's score?