05.01.2012, 15:02
This is the function
This is a principle of everything.
Ok how to make to get 2 exp per 3 minutes? And i need to make it on score board too...
Well this function called OnPlayerDeath is not necessary
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if (killerid != playerid) {
if (GetPlayerExpLevel(playerid) < GetPlayerExpLevel(killerid))
{
GivePlayerExp(killerid, -15, "Jums dingo 15 exp uz nuzudima!");
}
else if (GetPlayerExpLevel(playerid) > GetPlayerExpLevel(killerid))
{
GivePlayerExp(killerid, -15, "Jums dingo 15 exp uz nuzudima!");
}
else
{
GivePlayerExp(killerid, -15, "Jums dingo 15 exp uz nuzudima!");
}
}
return 1;
}
Ok how to make to get 2 exp per 3 minutes? And i need to make it on score board too...
Well this function called OnPlayerDeath is not necessary