Vic_RattleHead Posted January 20, 2015 Posted January 20, 2015 (edited) I can solve the problem Edited January 20, 2015 by Guest --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 Show the part that in it you spawnKEA #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 (edited) I can solve the problem Edited January 20, 2015 by Guest --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 function createteam () teamamKEA = createTeam ( "Kill 'Em All", 255, 0, 0 ) end addEventHandler("onResourceStart", resourceRoot, createteam) function spawnKEA( cityName, teamName, skinName ) if ( teamName == "KEA" and skinName == "KEA 1" ) then if ( getElementData(source, "gang") == "KEA" ) then setPlayerTeam ( source, teamKEA) local x,y,z x = 731.79998779297 y = -1276.0999755859 z = 13.60000038147 spawnPlayer ( source, x,y,z ) outputChatBox("YOU HAVE JOINED TO: Kill 'Em All[KEA] CLAN!", source, 0, 255,0) fadeCamera(source, true) giveWeapon ( source, 28, 2000 ) giveWeapon ( source, 31, 2000 ) giveWeapon ( source, 27, 2000 )setElementHealth ( source, 100 ) setElementModel ( source,15 ) setPedArmor ( source, 0 ) else outputChatBox("No eres parte del clan KEA", thePlayer, 255, 0, 0) triggerClientEvent ( "onPlayerChooseTeam", getRootElement(), teamName ) end end addEvent("onPlayerChooseTeam", true) addEventHandler("onPlayerChooseTeam", getRootElement(), spawnKEA) #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 (edited) I can solve the problem Edited January 20, 2015 by Guest --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 No see the line 10 #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 No see the line 10 everything is the same but messy --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 This may help getPlayerTeam getTeamName #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 This may help getPlayerTeam getTeamName does that have to do with my problem? --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 WhatS the problem i dont understand #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 (edited) I can solve the problem Edited January 20, 2015 by Guest --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
darhal Posted January 20, 2015 Posted January 20, 2015 Replace line 8 with if ( teamName == "KEA" and skinName == "KEA 1" or skinName == "KEA 3" or skinName == "KEA 3" then #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
Vic_RattleHead Posted January 20, 2015 Author Posted January 20, 2015 I can already solve the problem --ADMINISTRADOR, CREADOR Y DESARROLLADOR: GRUPO EN FACEBOOK: https://www.facebook.com/groups/778807552207175/?fref=ts [OVERKILL]PROJECT Multi[G]amemode --GANGWAR/ZOMBIEWAR/TACTICS/CIVILWAR/RACE/DEATHRACE¡¡TODO EN UNO!!-- PROXIMAMENTE http://overkillprojectserver.creatuforo.com/foro/
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