02.04.2012, 12:19
I think that I understood you..
in
now in
PHP код:
new bool:Dead[MAX_PLAYERS];
PHP код:
OnPlayerDeath(playerid)
{
Dead[playerid] == true;
return 1;
}
PHP код:
OnPlayerSpawn(playerid)
{
if(Death[playerid] == true)
{
// your code.
new mrand =random(10000);
GivePlayerMoney(playerid,-mrand);
}
return 1;
}