22.08.2013, 05:00
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;
}
OnDialogResponse > register part: Refunded[playerid] = false;
OnDialogResponse > login part: Refunded[playerid] = true;
OnPlayerSpawn
if(Refunded[playerid] == false)
{
// give rewards here..
Refunded[playerid] = true;
}