RoBiK 3 Odesláno: 24. Listopad, 2014 Share Odesláno: 24. Listopad, 2014 Takže čaute mám taký problém, že keď dám SetPlayerTeam(playerid,nejakyteam); tak mu to nastaví ako keby ANTI TEAM KILL Ochranu, takže tý čo sú v tom teamu sa nemôžu zabíjať chcem sa spýtať či by to nešlo zrušiť, predom ďakujem chcem povedať že tým nejakyteam som myslel nejaky tym napr. 1,2,3 a tak.. čislo tam mam samozrejme Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 24. Listopad, 2014 Share Odesláno: 24. Listopad, 2014 SetPlayerTeam(playerid, NO_TEAM ); Link to comment Share on other sites More sharing options...
0 RoBiK 3 Odesláno: 24. Listopad, 2014 Author Share Odesláno: 24. Listopad, 2014 y ale ja to potrebujem takto: napiše prikaz napr. /blue - nastaví mu team 2, to mám ale potom potrebujem aj to do OnPlayerSpawn: if (GetPlayerTeam(playerid) == 2) SetPlayerPos(playerid,X,Y,Z); // aj to mám ale potrebujem ešte to, aby keby že su v tom istom teame, sa mohli zabíjať proste aby sa ten istý team(napr. 2) mohol zabíjať Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 24. Listopad, 2014 Share Odesláno: 24. Listopad, 2014 y ale ja to potrebujem takto: napiše prikaz napr. /blue - nastaví mu team 2, to mám ale potom potrebujem aj to do OnPlayerSpawn: if (GetPlayerTeam(playerid) == 2) SetPlayerPos(playerid,X,Y,Z); // aj to mám ale potrebujem ešte to, aby keby že su v tom istom teame, sa mohli zabíjať proste aby sa ten istý team(napr. 2) mohol zabíjať udělej si to přes SetPVarInt(playerid, "Team", 1); a pak if(GetPVarInt(playerid, "Team") == 1) Zbytek si snad domyslíš sám.. Link to comment Share on other sites More sharing options...
0 RoBiK 3 Odesláno: 25. Listopad, 2014 Author Share Odesláno: 25. Listopad, 2014 ďakujem ti dobrá duša aj tak tomu nechápem, kašlem na to Link to comment Share on other sites More sharing options...
0 Akai 1 Odesláno: 25. Listopad, 2014 Share Odesláno: 25. Listopad, 2014 Místo SetPlayerTeam používej SetPVarInt(playerid, "Team", teamid) a místo GetPlayerTeam napiš GetPVarInt(playerid, "Team");Vyjde to nastejno, akorát tam nebude AntiTeamKill. Link to comment Share on other sites More sharing options...
Dotaz
RoBiK 3
Takže čaute mám taký problém, že keď dám SetPlayerTeam(playerid,nejakyteam);
tak mu to nastaví ako keby ANTI TEAM KILL Ochranu, takže tý čo sú v tom teamu sa nemôžu zabíjať
chcem sa spýtať či by to nešlo zrušiť, predom ďakujem
chcem povedať že tým
som myslel nejaky tym napr. 1,2,3 a tak.. čislo tam mam samozrejme
Link to comment
Share on other sites
5 odpovědí na tuto otázku
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