Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: [race]system
1. [RACE]System Redo
Hej. Podam kod do gamemoda ,, race ". Chcia?by ktos przerobi? go tak aby po wpisaniu zadzia?a? dopiero gdy wszyscy gracze b?d? martwi.

addCommandHandler('redo',
    function( 
player, command, value )
        if 
isPlayerInACLGroup(player, g_GameOptions.admingroup) then
            local currentMap 
= exports.mapmanager:getRunningGamemodeMap()
            if 
currentMap then
                outputChatBox
("#00BAFF[REDO] #FFFFFFMap restarted by " .. getPlayerNametagText(player), g_Root, 0, 240, 0, true)
                if 
not exports.mapmanager:changeGamemodeMap (currentMap, nil, true) then
                    problemChangingMap
()
                
end
            
else
                
outputRace("You can't restart the map because no map is running", player)
            
end
        
else
            
outputRace("You are not an Admin", player)
        
end
    end
)


Daje piwko nawet za dobre ch?ci. :piwo: :piwo: