fail again
#1

guys i was playing a litle with scripting and i try to make a taxi job - simple taxi job

but i allways fail...

i wanna make when player go into the Taxi,Bus it write to all players '' Kljukec is now on duty as Taxi Driver, Type /taxi To call a Taxi Service''

here is the code what i try to make:

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(gTeam[playerid] == TEAM_TAXIDRIVER >=1)
	{
	  new pname[24];
	  new string[128];
	  new giveplayerid;
		format(string, sizeof(string), "%s(%d) Taxi Driver Is On Duty! Type /taxi To Call A Taxi Service!",pname,giveplayerid);
  	SendClientMessage(playerid,0xFF7F50AA, string);
	}
	return 1;
}
... and BTW i wanna make this just for TEAM_TAXIDRIVER

and when i compile this i get an warning : tag mismatch on this line : '' if(gTeam[playerid] == TEAM_TAXIDRIVER >=1) ''

can anyone help me with this taxi job please ?

ty
Reply


Messages In This Thread
fail again - by Geekzor - 07.08.2009, 10:32
Re: fail again - by Sergei - 07.08.2009, 10:47
Re: fail again - by Djiango - 07.08.2009, 11:09
Re: fail again - by Geekzor - 07.08.2009, 11:19
Re: fail again - by Geekzor - 07.08.2009, 12:25
Re: fail again - by Geekzor - 07.08.2009, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)