Buy license
#10

I do this and compile everything working than I go in game to city hall an show me everything its very nice than I type /buylicense flying
nothin like I dodnt wroted a command...

Код:
if(strcmp(cmd, "/buylicense flying", true) == 0)
	{
		if(PlayerInfo[playerid][pFlyLic] == 0)
		{
		  if(PlayerToPoint(3.0,playerid, 369.4747,186.4138,1008.3893))
		  {
				if(GivePlayerMoney(playerid) >= 20000)
				{
					GivePlayerMoney(playerid, - 20000);
					SendClientMessage(playerid,COLOR_LIGHTGREEN,"Kupio si Fly licensu..");
					PlayerInfo[playerid][pFlyLic] = 1;
				}
				else
				{
					SendClientMessage(playerid,COLOR_LIGHTGREEN,"Nemas Novca!");
				}

			}

			else
			{
				SendClientMessage(playerid,COLOR_LIGHTGREEN,"Pa vec imas tu licensu!");
			}
		}

		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)