Server Help
#1

Greetings, I'm running a SA-MP server and recently I got bored and have spent the last few months wondering how to remove some code I cant find.

When users connect it auto gives them $7500 (but if they leave with money on them it will reset to $7500) does anyone know how to remove this or what the code could look like?

Cheers
Reply
#2

Add this under onplayerconnect :

Код:
GivePlayerMoney(playerid, amount);
or
Код:
SetPlayerMoney(playerid, amount);
And under onplayerdisconnect

Код:
SetPlayerMoney(playerid, 7500);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)