gametext 2 parts 1 outcome
#1

Hello there!

I need one stuff but i dont know it is possible or if it is how to do that. so im here to ask for help.

first part under onplayerdeath
pawn Code:
playercash = GetPlayerMoney(playerid);
    format(string, sizeof(string), "~g~+$%d", playercash/2);
    GameTextForPlayer(killerid, string, 3000, 1);
and second is under different thing who shows how much exp u got for killing. this is under different public.
pawn Code:
format(string4, sizeof(string4), "+%d Exp", exp);
But if it possible to make that when player dies message shows like
pawn Code:
playercash = GetPlayerMoney(playerid);
    format(string, sizeof(string), "~g~+$%d~n~+%d", playercash/2, exp);
    GameTextForPlayer(killerid, string, 3000, 1);
now. how can i get to show whole text in one message even if thouse 2 things is under different publics?
I really hope someone understend me cuz i suck in explanations.

Thanks!
Reply
#2

If your experience variable is global then yes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)