General > Developers Corner
Pointshop Points for taunting
MrPresident:
I gave you the way to detect a taunt and you already know the way to add points..
If you are still confused or need more specific ways for your gamemode, then maybe this is a question better suited for the developers of Pointshop or Prophunt.
MrPresident:
Basically here at Ulysses, we encourage learning.
We will guide you on the right path and help you by giving you resources to learn how to do what you ask, but this is not the place to come and expect people to write things for you.
FTWPanda:
Oh i didnt realize that was to detect taunts, i will try to implement it^^
Thank you very much.
FTWPanda:
Okay, so ive tried implementing it like this:
if pl:Team() == TEAM_HUNTERS then
rand_taunt = table.Random(PHE.HUNTER_TAUNTS)
else
rand_taunt = table.Random(PHE.PROP_TAUNTS)
GM:PlayerStartTaunt(ply, length)
ply:PS_GivePoints(length)
ply:PS_Notify("You've been awarded " .. length .. " Points for taunting!")
end
but that made it so the taunt via f3 stopped working. What am i doing wrong here? do i need to define the length for every possibilty or did i miss something?
MrPresident:
What I sent you was a hook. You need to set it up like a hook.
JamminR gave you an example.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version