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( 
playercommandvalue )
        if 
isPlayerInACLGroup(playerg_GameOptions.admingroupthen
            local currentMap 
exports.mapmanager:getRunningGamemodeMap()
            if 
currentMap then
                outputChatBox
("#00BAFF[REDO] #FFFFFFMap restarted by " .. getPlayerNametagText(player), g_Root02400true)
                if 
not exports.mapmanager:changeGamemodeMap (currentMapniltruethen
                    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: