rssautoteams11
Category: | script |
---|---|
Author(s): | Cadu12 |
Downloads: | 2467 |
Rate: | You need to be logged in to vote |
Rating: | 2.3 (7 Votes) |
Description:
Official topic: http://forum.mtasa.com/viewtopic.php?f=108&t=35477&..41#p366841
For whos wants blips for race, add line:
function onChangeRaceState(newStateName)
if newStateName == "Running" then
for _,player in ipairs(getElementsByType("player")) do
checkPlayerTeam(player)
end
end
end
addEvent("onRaceStateChanging", true)
addEventHandler( "onRaceStateChanging", getRootElement(), onChangeRaceState)
Changelogs:
1.0: First public release
1.1: Fixed bugged
1.2: Fixed bugged. Added team color for blips
1.3: Fixed bugged for blips
1.4: Added event for race
Add credis if you used
For whos wants blips for race, add line:
function onChangeRaceState(newStateName)
if newStateName == "Running" then
for _,player in ipairs(getElementsByType("player")) do
checkPlayerTeam(player)
end
end
end
addEvent("onRaceStateChanging", true)
addEventHandler( "onRaceStateChanging", getRootElement(), onChangeRaceState)
Changelogs:
1.0: First public release
1.1: Fixed bugged
1.2: Fixed bugged. Added team color for blips
1.3: Fixed bugged for blips
1.4: Added event for race
Add credis if you used
Version history
Version | Publish Date | Changes | |
---|---|---|---|
1.0.0 | 2011-09-13 15:18:01 | First public release | Download |