xeon17 Posted March 22, 2015 Posted March 22, 2015 if attacker and (attacker ~= source) then if (getElementType(attacker) == "player") then attackerTeam = getPlayerTeam(attacker) attackerTeamName = getTeamName(attackerTeam) if attackerTeamName ~= sourceTeamName then if (isElementWithinColShape(attacker, gang_Col[sourceTeamName])) then if (WarsGangZone[attackerTeamName][sourceTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, sourceTeamName) WarsGangZone[attackerTeamName][sourceTeamName] = WarsGangZone[attackerTeamName][sourceTeamName]+1 if (WarsGangZone[attackerTeamName][sourceTeamName] == 1) then outputChatBox(" Player:"..getPlayerName(attacker).." èç "..attackerTeamName.." has provoked a turf war!"..sourceTeamName.."!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][sourceTeamName] == 3) then WarsGangZone[attackerTeamName][sourceTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[sourceTeamName], r, g, b, 175) outputChatBox(" Gang: "..attackerTeamName.." is taking "..sourceTeamName.."turf!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[sourceTeamName], false) gangZone[sourceTeamName] = attackerTeamName end elseif (isElementWithinColShape(attacker, gang_Col[attackerTeamName])) then if gangZone[attackerTeamName] ~= attackerTeamName then if (WarsGangZone[attackerTeamName][attackerTeamName] < 3) then destroyWarsGangZoneStats(attackerTeamName, attackerTeamName) WarsGangZone[attackerTeamName][attackerTeamName] = WarsGangZone[attackerTeamName][attackerTeamName] + 1 if (WarsGangZone[attackerTeamName][attackerTeamName] == 1) then setRadarAreaFlashing(gang_Area[attackerTeamName], true) outputChatBox(" Player: "..getPlayerName(attacker).." is taking "..attackerTeamName.." turf!", getRootElement(), 0, 0, 0,true) setTimer(FlashingStop,60000,1,sourceTeamName,attackerTeamName) end elseif (WarsGangZone[attackerTeamName][attackerTeamName] == 3) then WarsGangZone[attackerTeamName][attackerTeamName] = 4 r, g, b = getTeamColor(attackerTeam) setRadarAreaColor(gang_Area[attackerTeamName], r, g, b, 175) outputChatBox(" Gang: "..attackerTeamName.." has taken the turf!", getRootElement(), 0, 0, 0,true) setRadarAreaFlashing(gang_Area[attackerTeamName], false) gangZone[attackerTeamName] = attackerTeamName end end end end end end A unique GangWar gamemode waiting for you!Click here for more information.
xeon17 Posted March 22, 2015 Posted March 22, 2015 A unique GangWar gamemode waiting for you!Click here for more information.
Jaysds1 Posted March 22, 2015 Posted March 22, 2015 disgusting My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
darhal Posted March 22, 2015 Posted March 22, 2015 https://forum.multitheftauto.com/viewtopic.php?f=177&t=86235 #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
xeon17 Posted March 22, 2015 Posted March 22, 2015 https://forum.multitheftauto.com/viewtopic.php?f=177&t=86235 A unique GangWar gamemode waiting for you!Click here for more information.
darhal Posted March 22, 2015 Posted March 22, 2015 https://forum.multitheftauto.com/viewtopic.php?f=177&t=86235 #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
Mr.unpredictable. Posted March 22, 2015 Posted March 22, 2015 https://forum.multitheftauto.com/viewtopic.php?f=91&t=86285
xeon17 Posted March 22, 2015 Posted March 22, 2015 https://forum.multitheftauto.com/viewtopic.php?f=177&t=86235 A unique GangWar gamemode waiting for you!Click here for more information.
Anubhav Posted March 22, 2015 Posted March 22, 2015 RewriteEngine on RewriteCond %{HTTP_HOST} ^[^.]+\.example\.com$ RewriteRule !^index\.php$ index.php [L] See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
xeon17 Posted March 22, 2015 Posted March 22, 2015 local noob = Player("Anubhav") noob:ban() buhahahahah A unique GangWar gamemode waiting for you!Click here for more information.
Anubhav Posted March 22, 2015 Posted March 22, 2015 server See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
xeon17 Posted March 22, 2015 Posted March 22, 2015 client A unique GangWar gamemode waiting for you!Click here for more information.
darhal Posted March 22, 2015 Posted March 22, 2015 <?php echo 'xD' ?> #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
Anubhav Posted March 23, 2015 Posted March 23, 2015 https://www.paysafecard.com/fileadmin/source/widgets/ See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
TheSmart Posted March 23, 2015 Posted March 23, 2015 -////////////////////////////[[The following is On Join]]\\\\\\\\\\\\\\\\\\\\\\\\\\\-- function disableClouds () setCloudsEnabled ( false ) end addEventHandler ( "onPlayerJoin", getRootElement(), disableClouds ) --//////////////[[The following is On Resource Start (This Resource)]]\\\\\\\\\\\\\\\-- function scriptStart() setCloudsEnabled ( false ) end addEventHandler ("onResourceStart",getResourceRootElement(getThisResource()),scriptStart) --//////////////[[The following is On Resource Start (EVERY resource)]]\\\\\\\\\\\\\\-- --//////////////[[The following is the 1.0 Upate.]]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\-- function scriptRestart() setTimer ( scriptStart, 4000, 1 ) end addEventHandler("onResourceStart",getRootElement(),scriptRestart) ---------------------------------------------------------------
Mr.unpredictable. Posted March 23, 2015 Posted March 23, 2015 https://forum.multitheftauto.com/viewtopic.php?f=91&t=86285
Anubhav Posted March 23, 2015 Posted March 23, 2015 appFunctions.waypoints:onPanelLoad See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
darhal Posted March 23, 2015 Posted March 23, 2015 #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
Mr.unpredictable. Posted March 23, 2015 Posted March 23, 2015 getElementPosition getElementMatrix getElementRotation
Anubhav Posted March 23, 2015 Posted March 23, 2015 onServerSpawn See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
darhal Posted March 23, 2015 Posted March 23, 2015 onClientSpawn #include <iostream> int main() { std::cout << "C++ is amazing <3" << std::endl; return 0; } I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now