[Solved]Startup cash...help!
#1

Hey,

I need some help with my server. Everytime an non-admin spawns he starts with $0. I want the non-admin to start with $5000. I know this is a VERY VERY noobish question but Iam sorry xD. Thanks for reading this !

Greetz
Dongotti
Reply
#2

Please reply.....
Reply
#3

Look THIS and THIS
Reply
#4

Quote:
Originally Posted by Dongotti
Hey,

I need some help with my server. Everytime an non-admin spawns he starts with $0. I want the non-admin to start with $5000. I know this is a VERY VERY noobish question but Iam sorry xD. Thanks for reading this !

Greetz
Dongotti
Under OnPlayerSpawn

Код:
GivePlayerMoney(playerid,5000);
.. that's it.

You can also do this:

At the top of the script with your defines
Код:
#define SPAWN_MONEY 5000 // change the amount here and it will change it everywhere you have used SPAWN_MONEY
Under OnPlayerSpawn:

Код:
GivePlayerMoney(playerid,SPAWN_MONEY);
Reply
#5

Thank you !
Reply
#6

Your welcome :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)