TDM help
#1

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
Reply
#2

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.
Reply
#3

That doesn't really help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)