SA-MP Forums Archive
Autirefund script ( Rep+) - 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: Autirefund script ( Rep+) (/showthread.php?tid=330339)



Autirefund script ( Rep+) - Leo Karls - 01.04.2012

Can anyone provide me the pawn code for auto refund .
I'm planning to give an auto-refund like 500kmoney 1kmats 1kpot lvl5 goldvip .
Please do help me and get rep


Re: Autirefund script ( Rep+) - Joshb93 - 01.04.2012

We would have to have your script to do that.


Re: Autirefund script ( Rep+) - Luis- - 01.04.2012

You haven't given enough information for anyone to do this..


Re: Autirefund script ( Rep+) - BigD - 01.04.2012

pawn Код:
CMD:autorefund(playerid, params[]) {
playerVariables[playerid][Money Variable] = 500000;
playerVariables[playerid][MaterialVariable] = 1000;
playerVariables[playerid][PotVariable] = 1000;
playerVariables[playerid][VIP Variable] = 5;
}
Something like that? I'd have to know more to do it though.


Re: Autirefund script ( Rep+) - Leo Karls - 01.04.2012

Mine is an NGRP edit .


Re: Autirefund script ( Rep+) - Joshb93 - 01.04.2012

Quote:
Originally Posted by Leo Karls
Посмотреть сообщение
Mine is an NGRP edit .
Lol. Might want to get a different script. NGRP edits will fail.


Re: Autirefund script ( Rep+) - Leo Karls - 01.04.2012

Quote:
Originally Posted by Daniel_Davis
Посмотреть сообщение
pawn Код:
CMD:autorefund(playerid, params[]) {
playerVariables[playerid][Money Variable] = 500000;
playerVariables[playerid][MaterialVariable] = 1000;
playerVariables[playerid][PotVariable] = 1000;
playerVariables[playerid][VIP Variable] = 5;
}
Something like that? I'd have to know more to do it though.
Will this work for sure ?


Re: Autirefund script ( Rep+) - Joshb93 - 01.04.2012

Quote:
Originally Posted by Leo Karls
Посмотреть сообщение
Will this work for sure ?
LOL! Dude, he only gave you an example, the variables arent the correct ones.

HINT: Shut your server down.


Re: Autirefund script ( Rep+) - Leo Karls - 01.04.2012

Can anyone help me with this .
Since i am a starter in scripting , I dont know how things work


Re: Autirefund script ( Rep+) - Luis- - 01.04.2012

Here's a start. Script your own game mode instead of using edits..