Tag Missmatch
#1

HI!

Tag missmatch on the lines:

Code:
LastBack[0] = Px;
			LastBack[1] = Py;
			LastBack[2] = Pz;
Full code:

Code:
COMMAND:backup(playerid, params[])
{
	if(!isLEO(playerid))
	{
		Server(playerid, "Nu faci parte din politie.");
		return 1;
	}
	new msg[248], Float:Px, Float:Py, Float:Pz;
	if(inTied(playerid))
	{
		Server(playerid, "Nu poti folosi aceasta comanda pentru ca esti legat.");
		return 1;
	}
	foreach(new i : Player)
	{
		if(isLEO(i))
		{
			GetPlayerPos(playerid, Px, Py, Pz);
			LastBackup = playerid;
			LastBack[0] = Px;
			LastBack[1] = Py;
			LastBack[2] = Pz;
			format(msg, 248, "Politistul %s are nevoie de ajutor! Catre toate unitatile,pentru a raspune,foloseste /respond!", GetName(playerid));
			SendClientMessage(i, COLOR_PURPLE, msg);
		}
	}
	return 1;
}
Reply


Messages In This Thread
Tag Missmatch - by Longover - 06.11.2018, 20:47
Re: Tag Missmatch - by StRaphael - 06.11.2018, 20:52
Re: Tag Missmatch - by Longover - 06.11.2018, 20:53
Re: Tag Missmatch - by Longover - 06.11.2018, 21:05
Re: Tag Missmatch - by Eoussama - 06.11.2018, 21:12
Re: Tag Missmatch - by Longover - 06.11.2018, 21:14

Forum Jump:


Users browsing this thread: 2 Guest(s)