All pastes #963151 Raw Edit

Miscellany

public lua v1 · immutable
#963151 ·published 2008-03-30 08:12 UTC
rendered paste body
function Player_OnUnspec(plyr) -- player / Returns boolean true of false, whether to allow player to unspec.	if not (go_player == nil or go_player[plyr.name] == nil or go_player[plyr.name]['faction'] == nil or go_player[plyr.name]['faction']['name'] == nil) then		plyr:unspec(go_player[plyr.name]['faction']['name'], 'test')		checkTurretAssign(plyr)		if (sendToBindSpot(plyr.name) == false) then			plyr:message('Failed to send you to least bound spot, please contact an Administrator.')		end		else		return true	end		return falseend