i need some help plis - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i need some help plis (
/showthread.php?tid=85331)
i need some help plis -
HuRRiCaNe - 07.07.2009
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?
Re: i need some help plis -
Correlli - 07.07.2009
Quote:
Originally Posted by BiG_Sm0k3
is this ok?
|
Test it and you'll know.
Re: i need some help plis -
HuRRiCaNe - 07.07.2009
-.- 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ї?