![]() |
events karma gain - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: events karma gain (/Thread-events-karma-gain) |
events karma gain - jexnico - 02-26-2018 12:48 AM morning well, i need to create an event for when a player uses an item, he loses 2000 karma to get criminal. only im not reminded of the command to execute this action i think is this Quote:[EVENTS e_ganha_status] only it is not working thanks in advance RE: events karma gain - azmanomer - 02-26-2018 01:11 AM on @itemdclick karma -=2000 if u add this event to player u need to check item baseid if its gonna be called on item then on @dclick src.karma -=2000 check out trigger page at wiki: https://wiki.spherecommunity.net/index.php/Category:Triggers RE: events karma gain - darksun84 - 02-26-2018 01:11 AM http://wiki.spherecommunity.net/index.php?title=Chapter_9 RE: events karma gain - jexnico - 02-26-2018 01:50 AM thanks all ![]() RE: events karma gain - jexnico - 02-26-2018 03:28 AM i tried to leave the players criminal when they entered the arena, and remove the criminal when they leave the arena so they can get the loot, it worked, but the karma modifies the original status of the player and does not return to what it was before ... would somehow have me create a kind of memory so that when the player leaves the arena he would still have the same karma / kill / death as when he entered? RE: events karma gain - darksun84 - 02-26-2018 03:39 AM you can save the karma/kills/deaths in some tags and when the player exit the arena, restore the values by using the tags RE: events karma gain - jexnico - 02-26-2018 03:54 AM and how could i do that? would you have any tutorials? i have no idea how to get started :c RE: events karma gain - darksun84 - 02-26-2018 05:05 AM http://wiki.spherecommunity.net/index.php?title=Chapter_5 RE: events karma gain - jexnico - 02-26-2018 05:50 AM (02-26-2018 05:05 AM)darksun84 Wrote: http://wiki.spherecommunity.net/index.php?title=Chapter_5 is correct? Quote:ON=@DCLICK |