SA-MP Forums Archive
Refund script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Refund script (/showthread.php?tid=390563)



Refund script - TomerDanan - 06.11.2012

I need some refund script that when someone register he get autorefund

[pLevel] = 3;
[pAccount] = 5000000;
[pCash] = 1000000;
[pReg] = 1;
[pDonateRank] = 2;
[pConnectTime] = 12;
[pMats] = 50000;
[pCrack] = 250;
[pPot] = 250;

please help me


Re: Refund script - dannyk0ed - 06.11.2012

OnPlayerRegister?

p.s:Refunds ruin servers.


Re: Refund script - TomerDanan - 06.11.2012

Please write me the code? i wnat that stats when players register.
and say me where i need to write him.
im new actually.


Re: Refund script - Eugene. - 07.11.2012

Show me your public OnPlayerRegister.


Re: Refund script - TomerDanan - 07.11.2012

i delete this man can you bring me some good code?


Re: Refund script - doreto - 07.11.2012

NO


WRONG SECTION
https://sampforum.blast.hk/showthread.php?tid=187229



Re: Refund script - iggy1 - 07.11.2012

WTF is auto-refund? i see people saying it ruins servers all the time.


Re: Refund script - Emmet_ - 07.11.2012

Quote:
Originally Posted by iggy1
Посмотреть сообщение
WTF is auto-refund? i see people saying it ruins servers all the time.
It's just some stupid thing that gives people cash, drugs, gun materials and a VIP rank when they register. It's commonly used in almost every roleplaying server (that runs the leaked NGG script..)


Re: Refund script - iggy1 - 07.11.2012

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
It's just some stupid thing that gives people cash, drugs, gun materials and a VIP rank when they register. It's commonly used in almost every roleplaying server (that runs the leaked NGG script..)
That's what i thought, but why call it "refund" that means giving something back to someone - something which they gave/payed you. It should be called funding. That confused me every time i seen it written.

Would only ruin RP servers i think.

http://www.thefreedictionary.com/refund

EG, In a mode i made (dm) i gave players 1mil for registering. I didn't however re-fund it because they never gave it me in the first place. The reason i payed them for registering is because alot of the features i made were only for registered players (bank, saved spawns ect ect) so i wanted to encourage players to register so i would send them a message saying they get x amount for registering.

Something else i scripted could have been called a re-fund - If a player left the server after they had purchased a business they would be re-funded the money they paid for it. That's a refund


Re: Refund script - cosbraa - 07.11.2012

Why would you give people all of that on register.
Quote:

[pLevel] = 3;
[pAccount] = 5000000;
[pCash] = 1000000;
[pReg] = 1;
[pDonateRank] = 2;
[pConnectTime] = 12;
[pMats] = 50000;
[pCrack] = 250;
[pPot] = 250;