[HOW TO DO]When player is on pickup to show this
#1

http://prntscr.com/3us7la

MATERIALS-PACKETS
Ammount: 0 or how much packets have..?
Reply
#2

English translation please.
Reply
#3

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;}
Reply
#4

Materiali - Paketi - Materials - Packs

Just translating, don't know the script though
Reply
#5

Thanks!

DONE

EDIT: Its ok, its working, but when someone take that materials and how to make to show 0 materials if ammount of materials packs is 0?
Reply
#6

Quote:
Originally Posted by Connor Smith
Посмотреть сообщение
Thanks!

DONE

EDIT: Its ok, its working, but when someone take that materials and how to make to show 0 materials if ammount of materials packs is 0?
Can anyone help?
Reply
#7

Quote:
Originally Posted by Connor Smith
Посмотреть сообщение
Can anyone help?
Sorry for spam...
Reply
#8

pawn Код:
if(amount = 0) GameTextForPlayer(playerid, "~r~~h~MATERIALS-PACKETS\n~w~~h~Amount: ~y~0", 5000, 3);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)