Problem with Command
#4

perk [ playerid ] [ Ammo ] is set to 1. It's the only way your code isn't performing it's task.

pawn Код:
CMD:test(playerid, params[])
{
    perk[playerid][Ammo] = 0;
    return 1;
}
Call the command test before you refill.

EDIT: After you've tested to see that this is the issue (as obvious as it is), make changes to whatever is needed.
Reply


Messages In This Thread
Problem with Command - by SpiderWalk - 08.05.2012, 20:08
Re: Problem with Command - by 2KY - 08.05.2012, 20:13
Re: Problem with Command - by SpiderWalk - 08.05.2012, 20:17
Re: Problem with Command - by Disturn - 08.05.2012, 20:33
Re: Problem with Command - by DamienWalter - 15.05.2012, 12:35
Re: Problem with Command - by $$inSane - 15.05.2012, 14:19

Forum Jump:


Users browsing this thread: 2 Guest(s)