Posts: 371
Threads: 104
Joined: May 2009
Reputation:
0
i dont whant to give player money i whant it to when you check the score such as tab insted of showing up howmany kill you got it showes how much money you got
Posts: 379
Threads: 53
Joined: Jun 2009
Reputation:
0
new playermoney
playermoney = GetPlayerMoney(playerid)
OnPlayerConnect
SetPlayerScore(playerid, playermoney);
Posts: 379
Threads: 53
Joined: Jun 2009
Reputation:
0
or
if he does somethin g
with /buydrugs
or anythiong in that way
for eample
if(strcmd,"/buydrugs", blablabla
SendClientMessage(playerid, 0xAA3333AA,"You have bought some drugs");
GivePlayerMoney(playerid, -1000);
SetPlayerScore(playerid, playermoney
Posts: 1,293
Threads: 6
Joined: Jul 2008
Reputation:
0
@ekeleke: That's all well and good, but there are little things like stunt bonuses, and the amount you get taken off you when you die that you can't detect without a timer.
Posts: 379
Threads: 53
Joined: Jun 2009
Reputation:
0
You can put SetPlayerScore(playerid, playermoney);
under onplayerdeath
and he can disable stunt bonuses because i don't think he has a stunt server
but a timer is ok
but if he is a beginning scripter he will understand SetPlayerScore better