Buy license
#1

guy I have problem I am still noob in scripting and I need help with /buylicense in city hall ... I have put it pickups into city hall and everything and I created /buylicense flying we I stand on that pickup I doenstn work can any onw say way....


Код:
if(strcmp(cmd, "/buylicense flying", true)== 0)
  	{
  		if(IsPlayerConnected(playerid))
  		{
    		if(PlayerToPoint(3.0,playerid, 369.4747,186.4138,1008.3893))
    		{
      		SendClientMessage(playerid, COLOR_YELLOW, "kupio si licencu za letenje");
	    		GivePlayerMoney(playerid, - 20000);
	    		PlayerInfo[playerid][pFlyLic] = 0;
	    		return 1;
    		}
  		}
	}
Reply


Messages In This Thread
Buy license - by Tony_Cobra - 09.04.2009, 22:27
Re: Buy license - by Weirdosport - 09.04.2009, 22:30
Re: Buy license - by Tony_Cobra - 09.04.2009, 22:44
Re: Buy license - by miokie - 09.04.2009, 23:36
Re: Buy license - by Weirdosport - 10.04.2009, 00:01
Re: Buy license - by Frank_Tesla - 10.04.2009, 03:47
Re: Buy license - by Lastman - 10.04.2009, 05:52
Re: Buy license - by tom_jonez - 10.04.2009, 06:32
Re: Buy license - by Frank_Tesla - 10.04.2009, 06:52
Re: Buy license - by Tony_Cobra - 10.04.2009, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)