How to create a starter refunding package?
#1

Hello,

I have a server with a RP script and I would like to know how to make a refund package when you register, it gives you a starter package instead of admins /setstat or /refund.....Because admins sometimes arent on...so..

Any help?
Reply
#2

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

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.
}
.. 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.
Reply
#3

I'd handle it on a forum not in-game, as for me; they would need proof as to their accounts on other servers, etc. etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)