License [help]
#8

Quote:

Not sure about the pLicense, change it to what it supposes to be.

its pCarLic

so if anyone needs this the code is
pawn Код:
if(!strcmp(cmd,"/getlicense",true))
    {
      if(PlayerInfo[playerid][pCarLic]) return SendClientMessage(playerid, COLOR_RED, "You already have a license.");
      if(GetPlayerMoney(playerid)<5000) return SendClientMessage(playerid, COLOR_RED, "You don't have enough money, a license costs 5,000$.");
      GivePlayerMoney(playerid,-5000);
      PlayerInfo[playerid][pCarLic]=1;
      SendClientMessage(playerid, COLOR_GREEN, "You've bought a license for 5,000$.");
      return 1;
    }
Reply


Messages In This Thread
License [help] - by Joruz_Tellino - 12.07.2009, 15:37
Re: GF License [help] - by MenaceX^ - 12.07.2009, 15:39
Re: GF License [help] - by Joruz_Tellino - 12.07.2009, 15:40
Re: GF License [help] - by Joruz_Tellino - 12.07.2009, 15:43
Re: GF License [help] - by MenaceX^ - 12.07.2009, 15:46
Re: GF License [help] - by Joruz_Tellino - 12.07.2009, 15:46
Re: GF License [help] - by Joruz_Tellino - 12.07.2009, 15:53
Re: GF License [help] - by Joruz_Tellino - 12.07.2009, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)