SA-MP Forums Archive
New player gets random money :S - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: New player gets random money :S (/showthread.php?tid=132326)



New player gets random money :S - leapfish - 07.03.2010

Hello guys, when new player comes to my server and /register, /login he gets random money, sometimes even huge amount of money :S

Please help me, I want to make it money 0 for everyone who registers new account :S


Re: New player gets random money :S - ¤Adas¤ - 07.03.2010

ResetPlayerMoney(playerid)


Re: New player gets random money :S - aircombat - 07.03.2010

search in the OnPlayerSpawn/OnPlayerConnect u will see a like which is like that : GivePlayerMoney(playerid,243); //example , delete it
________
Vtx1800f


Re: New player gets random money :S - leapfish - 07.03.2010

Quote:
Originally Posted by [AC
Etch ]
search in the OnPlayerSpawn/OnPlayerConnect u will see a like which is like that : GivePlayerMoney(playerid,243); //example , delete it
There is no....

Quote:
Originally Posted by ¤Adas¤
ResetPlayerMoney(playerid)
Where to put this?


Re: New player gets random money :S - ¤Adas¤ - 07.03.2010

Under OnPlayerSpawn


Re: New player gets random money :S - leapfish - 07.03.2010

That will just reset everyones money, I want to do it for new (just registered) players, to start from 0$


Re: New player gets random money :S - ¤Adas¤ - 07.03.2010

Optimise your code...


Re: New player gets random money :S - [MWR]Blood - 07.03.2010

Check again carefully OnPlayerSpawn, if you don't find anything like GivePlayerMoney(playerid,1000);, then check your Admin System.


Re: New player gets random money :S - [03]Garsino - 07.03.2010

Quote:
Originally Posted by LyQue
That will just reset everyones money, I want to do it for new (just registered) players, to start from 0$
Inside the register command, put:
pawn Код:
ResetPlayerMoney(playerid);