License [help]
#2

You should've read forum rules.
Post this in the GF topic.

Though I will help here disposable even though it's regrading to GF.
pawn Код:
if(!strcmp(cmd,"/getlicense",true))
{
  if(PlayerInfo[playerid][pLicense]) return SendClientMessage(playerid,color,"You already have a license.");
  if(GetPlayerMoney(playerid)<5000) return SendClientMessage(playerid,color,"You don't have enough money, a license costs 5,000$.");
  GiveMoney(playerid,-5000);
  PlayerInfo[playerid][pLicense]=1;
  SendClientMessage(playerid,color,"You've bought a license for 5,000$.");
  return 1;
}
Not sure about the pLicense, change it to what it supposes to be.
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)