Change score between teams
Hello everyone,
Short story, i'm making a mix/competitve (idk how to call it) plugin for a friend. He wants like in round 15 to automatically change teams and score from scoretab between them. I've searched and found a "solution" i tought from oprheu_memory but it didn't work... Like no error nothing happend just didn't work. So how do i change the score between the teams or how to i set them :-?. Now i will apreciate if you could help me with that. |
Re: Change score between teams
test this maybe? i think its possible without orpheu
(use 'amx_chscore' to test if it will swap score) https://forums.alliedmods.net/showpo...25&postcount=2 |
Re: Change score between teams
Quote:
https://i.imgur.com/s4WlvtO.jpg |
Re: Change score between teams
alright, my mistake for that link, here is the code:
Code:
#include <amxmodx> my code is more like a example , im not sure if it will work very well, so you must change some parts a little...especially with 'if( g_iScore[ 0 ] + g_iScore[ 1 ] == 15 )', test with different numbers |
Re: Change score between teams
Well, it works kind of ? but the only problem is it changes imediatly back.
|
Re: Change score between teams
okay, i added task of 0.2 sec, can you test it now?
|
Re: Change score between teams
Quote:
Thank you again :) |
All times are GMT -4. The time now is 20:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.