12.11.2009, 18:26
Before we start, this is a tutorial for extremely NEW SCRIPTERS. Me my self, i am a very new scripter. I am learning slowly, so please don't bother wasting your time saying "retarded and easy" or something like that.
K thx, bai.
Ok so, welcome to my tutorial on how to give someone what we will call "pocket money" when they spawn. So when they die and spawn or select there skin and spawn they will recive this so called "pocket money".
1 ) Step one, you must tell PAWNO what is "pocketmoney". So add this at the top of your script.
^^ This code will let pawno know, pocketmoney is 50000 dollars. Change the number if you want more/less money to be given on spawn.
2 ) Step two, put this under "onplayerspawn".
^^ This will tell PAWNO to give the player the "pocketmoney".
Easy huh?
Keep a look out for more beginner tutorials soon.
K thx, bai.
Ok so, welcome to my tutorial on how to give someone what we will call "pocket money" when they spawn. So when they die and spawn or select there skin and spawn they will recive this so called "pocket money".
1 ) Step one, you must tell PAWNO what is "pocketmoney". So add this at the top of your script.
Code:
#define PocketMoney 50000
2 ) Step two, put this under "onplayerspawn".
Code:
GivePlayerMoney(playerid, PocketMoney);
Easy huh?
Keep a look out for more beginner tutorials soon.