How do i add this?
#2

Quote:
Originally Posted by killdahobo99
I'm trying to learn how to add teams from the sa-mp wiki.

I've followed everything correctly and its all fine. What i want to do now is, add certain commands for certain teams...How do i do that tho?


Heres my pastebin: http://pastebin.com/m38bc3b5c

On "OnPlayerCommandText" i want to add say...."/help" and it will display it only for 1 team how can i do that with what i have got so far in my pastebin?

Thanks for the help
uhm..maybe /help
Код:
	if (strcmp("/help", cmdtext, true, 10) == 0)
	{
	 if(gTeam[playerid]== Team_Grove)
	 {
	 // bla bla bla..C
	 }
	 else
	 {
	 // bla bla bla
	 }
		return 1;
	}
Reply


Messages In This Thread
How do i add this? - by killdahobo99 - 27.07.2009, 17:46
Re: How do i add this? - by Criss_Angel - 27.07.2009, 18:20
Re: How do i add this? - by killdahobo99 - 27.07.2009, 18:51
Re: How do i add this? - by Criss_Angel - 27.07.2009, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)