i need some help plis
#1

Hey i have a doubt because im including my Clan war gm into my other gamemode
and instead of using some things im making cmdґs that make the same function
and my problem is:
you make /clanwar 1
and you are now a member of team 1
this is ok
but when i want to do /clanwar exit
i would like to make that the person that do this and exists the clan war quit the team so cannot read team msgs
i thought this
if(strcmp(cmdtext, "/enter", true)==0)
{
gTeam[playerid] = team1;
return 1;
}
if(strcmp(cmdtext, "/exit", true)==0)
{
gTeam[playerid] = 0;
return 1;
}

is this ok?
Reply
#2

Quote:
Originally Posted by BiG_Sm0k3
is this ok?
Test it and you'll know.
Reply
#3

-.- well i got another question (yes it worked)

can i change something from a .txt like
(in the txt)
armour 100


can i change the value 100 ingame?? as admin??
if(strcmp(cname,"armour",true) == 0) arm = strval(value);
plis help
is there any way to change it ingameї?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)