Command to buy a item
#6

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
weird try this


pawn Код:
if(strcmp(cmd, "/wschein", true) == 0)
    {
        if (!PlayerToPoint(3.0, playerid,249.4883,67.6739,1003.6406)) {
            SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You cannot buy the weapon license here");
            return 1;
        }
        if(PlayerInfo[playerid][pGunLic] == 1) {
            SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You already have a weapon license");
            return 1;
        }
        SendClientMessage(playerid,COLOR_INFO, "[INFO]:Waffenschein gekauft.");
        PlayerInfo[giveplayerid][pGunLic] = 1;
        GivePlayerCash(playerid, - 4000);
        return 1;
    }
and what is the difference?
Reply


Messages In This Thread
Command to buy a item - by Dripac - 16.03.2012, 15:31
Re: Command to buy a item - by [KHK]Khalid - 16.03.2012, 15:41
Re: Command to buy a item - by Dripac - 16.03.2012, 15:43
Re: Command to buy a item - by [KHK]Khalid - 16.03.2012, 15:45
Re: Command to buy a item - by Jonny5 - 16.03.2012, 15:46
Re: Command to buy a item - by [KHK]Khalid - 16.03.2012, 15:48
Re: Command to buy a item - by Jonny5 - 16.03.2012, 15:52
Re: Command to buy a item - by Dripac - 16.03.2012, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)