Posts: 151
Threads: 24
Joined: Apr 2013
So far I got this.
Код:
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, 50000);
return 1;
}
how do i give them 300 score? Also when they register, they will recieve it. I dont want it everytime they connect. Because it will be abused.
I want it to say " You have been automatically refunded". when they register. how?
Posts: 869
Threads: 48
Joined: Feb 2012
Reputation:
0
show me your register function or command
Posts: 340
Threads: 56
Joined: Jul 2012
Reputation:
0
on top of script: new bool:Refunded[MAX_PLAYERS];
OnDialogResponse > register part: Refunded[playerid] = false;
OnDialogResponse > login part: Refunded[playerid] = true;
OnPlayerSpawn
if(Refunded[playerid] == false)
{
// give rewards here..
Refunded[playerid] = true;
}
Posts: 151
Threads: 24
Joined: Apr 2013
hi how to give score?
gscore +300?
Posts: 151
Threads: 24
Joined: Apr 2013
hi danish how about cash?
i want to give them 50,000$
and a red message saying hi
Posts: 1,794
Threads: 104
Joined: Feb 2012
Reputation:
0
I don't think its too hard to do that? you don't know how to send a message really?