16.02.2012, 15:56
OnGameModeInit? U Mad?
pawn Код:
new DeathPickup;
public OnPlayerDeath(playerid, killerid, reason)
{
new Float: Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
DeathPickup = CreatePickup(1239, 1, Pos[0], Pos[1], Pos[2], -1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == DeathPickup)
{
//GiveMoney etc...
}
return 1;
}

