Help With In Car Only Commands
#1

Ok i have this :

Код:
		 	if(strcmp(cmdtext, "/testcmds", true, 5) == 0) {
	  	if(IsPlayerInAnyVehicle(playerid))
			{
			SendClientMessage(playerid,COLOR_YELLOW,"You Are In A Car.");
		}
			else
		{
			SendClientMessage(playerid,0xAA3333AA,"You Are Not In A Car.");
		}
			return 1;
	}
But i want to make the command working only in Taxi.... now idk what to do..

Sorry for my english ^^
Reply


Messages In This Thread
Help With In Car Only Commands - by Smiths - 15.08.2009, 15:14
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:17
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:19
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:22
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:27
Re: Help With In Car Only Commands - by or_yagoda - 15.08.2009, 15:27
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 15:38
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 15:50
Re: Help With In Car Only Commands - by Smiths - 15.08.2009, 16:00
Re: Help With In Car Only Commands - by Correlli - 15.08.2009, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)