Events
Server Events
gw:onWarSent
Triggered after a player has sent a war request to another gang.
RegisterNetEvent('gw:onWarSent', function(playerId, gang, toGang, price) end)
Source of the player that sent the war request.
Data of the gang that sent the war request.
Data of the gang that received the war request.
Wager for the war.
gw:onWarDeclined
Triggered after a player has declined a war request from another gang.
RegisterNetEvent('gw:onWarDeclined', function(playerId, gang, fromGang, price) end)
Source of the player that declined the war request.
Data of the gang that declined the war request.
Data of the gang that sent the war request.
Wager for the war.
gw:onWarAccepted
Triggered after a player has accepted a war request from another gang.
RegisterNetEvent('gw:onWarAccepted', function(playerId, gang, fromGang, price) end)
Source of the player that accepted the war request.
Data of the gang that accepted the war request.
Data of the gang that sent the war request.
Wager for the war.
gw:onWarEnded
Triggered after a war has ended between two gangs.
RegisterNetEvent('gw:onWarEnded', function(winnerGang, loserGang, totalPrice) end)
Data of the gang that won the war.
Data of the gang that lost the war.
Total amount of money wagered for the war.
Client Events
No client-sided events available at this time.