TDM help - 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: TDM help (
/showthread.php?tid=168217)
TDM help -
Shockey - 15.08.2010
Ok guys I have a tdm where you have to choose team
the cmds are
f (strcmp("/balla", cmdtext, true, 10) == 0)
}
SetPlayerSkin(playerid, 102);*
return 1;
}
and
f (strcmp("/grove", cmdtext, true, 10) == 0)
}
SetPlayerSkin(playerid, 105);*
return 1;
}
so how do I make it only in this certain dm
abd say the dm cmd is
f (strcmp("/tdm", cmdtext, true, 10) == 0)
}
SetPlayerPos(playerid, blah blah blah);*
return 1;
}
plz help me to tell me how to make those 2 cmds only work in that dm
Re: TDM help -
Mrkrabz - 15.08.2010
X--------X
|ooooooo|
|ooooooo|
|ooooooo|
X--------X
Ignore the ooo's New forum don't like spaces
World Boundaries. Think about it, if the player is OUTSIDE that area Something simmilar to
GangZoneCreate(2417.757, -1737.13, 2524.237, -1626.594);
That would cover Grove.
Then you would need to check if the player is INSIDE that area.
Re: TDM help -
Shockey - 15.08.2010
That doesn't really help me