02.11.2011, 12:59
With other pickups. What did i do wrong?
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == deathpickup123[playerid]) { new Random = random(8001); new string[70]; DestroyPickup(deathpickup123[playerid]); format(string, sizeof(string), "$%d Money got from a death Player!", Random); SendClientMessageToAll(COLOR_RED, string); GivePlayerMoney(playerid,Random); KillTimer(killtimer1); Delete3DTextLabel(death3d[playerid]); return 1; } return 1; }