/buylic command
#1

Hello,
I am looking for a /buylicense command at the PD to purchase your driving license and a /showlicense {ID} to show your license to a player!

P.S hopefully the CMD: way thanks (dunno what its called)
Reply
#2

someone please sorry for double post
Reply
#3

First of all are you saving the license? And I re-direct you to a request thread, this ain't the right location.
Reply
#4

yes saving the license so the police officer when he asks for there id they can /showid
Reply
#5

Right simple change to your code!.

pawn Код:
CMD:buylic(playerid)
{
       PlayerInfo[playerid][pMoney] = PlayerInfo[playerid][pMoney]-AMOUNT; // If you dont have a mone system use GivePlayerMoney(playerid, -AMOUNT);
        PLayerInfo[playerid][pLicense] = 1;
        SendClientMessage(Playerid, "Texthere");
        return 1;
}
[pawn] CMDhowlicneses(playerid)
{

Second thoughs I need to go like now... Sorry

Right thats very simple and should be easy for you to edit to how you like
Reply
#6

this is no help whatsoever
Reply
#7

Alright i'm back so you mean you want a nice neat dialog listing the license to buy. If yes tell me and give me 3 mins
Reply
#8

yeah please, I want it so you can go to the PD and do /buylic and a dialog comes up:
driving or Boat. THANKS (Y)
P.S I dont have a License system, Im using VX-RP2
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)