2013-07-27 16:24:03 +01:00
|
|
|
function HandleChangeGMCommand( Split, Player )
|
|
|
|
|
if( #Split ~= 2 ) then
|
2013-07-31 17:10:59 +01:00
|
|
|
Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. "Usage: /gm [GameMode (0|1)]" )
|
2013-07-27 16:24:03 +01:00
|
|
|
return true
|
|
|
|
|
end
|
|
|
|
|
Player:SetGameMode(Split[2])
|
|
|
|
|
return true
|
|
|
|
|
end
|