Auto-Refund for RP Servers
#1

Hello Guys,

How can I add Auto-Refund on my server? Like when a new player register then he's done he will get auto-refund which is (250k/GVIP/25kmats/50pots/grams/) something like that.
Reply
#2

Same as you set starter money, starter skin to them, just add another lines with your guns, money drugs etc.
Reply
#3

Up, i'm need that too
Reply
#4

Just answered to your question!

If you can't do that, just gimme your code of registration, i will show you.
Reply
#5

Up, i'm need that too
Reply
#6

What is the codes?

:UP:
Reply
#7

pawn Код:
public OnPlayerConnect(playerid)
{
    GivePlayerCash(playerid, 250000);
    pInfo[playerid][pDonateRank] = //Whatever your rank is
    pInfo[playerid][pMats] = 25000;
    pInfo[playeridd][pPots] = 50;
}
Not tested, it'd be better if you just told us which script you are using or post the gamemode.
Reply
#8

Quote:
Originally Posted by JohnRazer
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    GivePlayerCash(playerid, 250000);
    pInfo[playerid][pDonateRank] = //Whatever your rank is
    pInfo[playerid][pMats] = 25000;
    pInfo[playeridd][pPots] = 50;
}
Not tested, it'd be better if you just told us which script you are using or post the gamemode.
Wouldn't recommend the above as it will always give them 250,000 upon connecting, whether they are new or not.

Search for the registration section of your script and paste it here in the [ pawn ] tags.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)