help again please
#1

Hey guys. I made a backup command yesterday but i didn't came out.

now I made another one that works. I did it with a mapicon. But I want this map Icon to follow you.
How to do this?
My script:
Код:
if(strcmp(cmd, "/backup", true)==0)
{
	if(sapd[playerid] >= 1)
	{
		for(new i; i<MAX_PLAYERS; i++)
		{
			new Float:X,Float:Y,Float:Z;
  			GetPlayerPos(i,X,Y,Z);
			SetPlayerMapIcon(i, 0, X, Y, Z, 30, 0 );
			

		}
	}
	else
	{
		SendClientMessage(playerid,COLOR_RED,"You are not part of the sapd");
	}
	return 1;
}
Reply


Messages In This Thread
help again please - by bartje01 - 06.07.2010, 09:34
Re: help again please - by CAR - 06.07.2010, 10:26
Re: help again please - by Betamaster - 06.07.2010, 12:05
Re: help again please - by bartje01 - 06.07.2010, 12:10

Forum Jump:


Users browsing this thread: 2 Guest(s)