29.07.2011, 16:32
Make some player variable that also saves to their account file / row .. like recievedGift.. then onplayer register or spawn or how ever you do it, you can do somelike like
.. If you have any knowledge at all then you should be able to do this.. if not then you're not looking for help, you're looking for the script to be made for you, and my response to that is gtfo.
pawn Код:
if(recievedGift[playerid] == 0)
{
Drugs[playerid] += 5;
GivePlayerMoney(playerid, 5000);
recievedGift[playerid] = 1;
// then make sure recievedGifts value of 1 gets saved / loaded with all the other information.
}