Functions/DarkRP/Server/destroyLastVote

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name DarkRP.destroyLastVote()
Description:
Destroy the last created vote.
Returns: boolean destroyed
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/destroyLastVote]DarkRP.destroyLastVote[/url][/b]

Function parameters

This function does not take any arguments.

Function return values

  1. destroyed (boolean)
  2. Whether there was a last vote to destroy or not.