One error, grabweed. +1 rep
#2

Try this
pawn Код:
CMD:grabweed(playerid, params[])
{
    if(PInfo[playerid][Drugs] < 1) return SendClientMessage(playerid, COLOR_BROWN, "You are not an supplier rank 1.");
    SendClientMessage(playerid, COLOR_GREY, "You are not at the druglab.");
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 302.6837,300.7080,999.1484))
    {
    PInfo[playerid][Drugs] +=20;
    SendClientMessage(playerid, COLOR_RED, "You cutted a 20gram of weed as you pocket it.");
    SendClientMessage(playerid, COLOR_YELLOW, "SERVER: /checkweed for check how many grams you have left.");
    return 1;
    }
    return 1;
}
EDITED
Reply


Messages In This Thread
One error, grabweed. +1 rep - by Lynet - 13.04.2013, 20:26
Re : One error, grabweed. +1 rep - by DaTa[X] - 13.04.2013, 20:29
Re: One error, grabweed. +1 rep - by Isolated - 13.04.2013, 20:30
Re: One error, grabweed. +1 rep - by [XST]O_x - 13.04.2013, 20:30
Re: One error, grabweed. +1 rep - by Lynet - 13.04.2013, 20:31
Re: One error, grabweed. +1 rep - by JJB562 - 13.04.2013, 20:39
Re: One error, grabweed. +1 rep - by XStormiest - 13.04.2013, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)