Small help
#1

Why is this command working for everyone? o.o

Код:
CMD:perk(playerid, params[])
{
	if(PlayerInfo[playerid][pPerk] == dB)
	{
	    new drugs = randomEx(1,10);
		new string[128];
		format(string, sizeof(string), "You received %d drugs", drugs);
		SendClientMessage(playerid, COLOR_YELLOW, string);
		PlayerInfo[playerid][pWeed] += drugs;
		return 1;
	}
	return 1;
}
The command should work only if you have dB
Reply


Messages In This Thread
Small help - by Squirrel - 23.03.2013, 01:34
Re: Small help - by faff - 23.03.2013, 01:37
Re: Small help - by Squirrel - 23.03.2013, 01:42

Forum Jump:


Users browsing this thread: 1 Guest(s)