Comand >>><<<
#2

It took me a while since I was distracted by your display picture >.<
but here, try this.

Код:
 if(strcmp(cmd ,"/carunlock", true )== 0)
  {
	  if(IsPlayerConnected(playerid))
	  {
		 if(PlayerInfo[playerid][pAdmin]>=1)
		 {
			  for(new c=0;c<CAR_AMOUNT;c++)
			  {
				  new Fload:r1,Floar:r2,Floatr3;
                  GetPlayerPos(playerid, r1, r2, r3);
				  if(PlayerToPoint(4.0,playerid,r1,r2,r3))
				  {
						 gCarLock[c] = 0;
						 SendClientMessage(playerid, COLOR_GREY, "Cea mai apropiata masina de tine a fost deschisa");
				  }
	      }
	    }
	  }
	  
  }
You have to GetPlayerPos, you left that out.
Reply


Messages In This Thread
Comand >>><<< - by monster010 - 17.09.2009, 17:30
Re: Comand >>><<< - by Paladin - 17.09.2009, 19:15
Re: Comand >>><<< - by monster010 - 18.09.2009, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)