20.06.2014, 17:27
Here's an example, edit it and make it update correctly.
pawn Код:
#define PICKUP_1 0
public OnPlayerPickUpPickup(playerid, pickupid){
new string[128];
if(pickupid == PICKUP_1{
new amount = 15;
format(string, sizeof(string), "~r~~h~MATERIALS-PACKETS\n~w~~h~Amount: ~y~%d", amount);
GameTextForPlayer(playerid, string, 5000, 3);}
return 1;}