Get iPlayer ID
#1

Hello,

I have this code.
Код:
format(iStr,sizeof(iStr),"[SAPD] %s %s shoots his tazer and hits %s",PlayerInfo[playerid][rankname],RPName(playerid),MaskedName(iPlayer));
Is it possible to attach iPlayer's ID on end of that "and hits %s" like that "and hits %s[HIS ID]" ?
Reply
#2

iPlayer holds the ID.
pawn Код:
format(iStr,sizeof(iStr),"[SAPD] %s %s shoots his tazer and hits %s[%i]",PlayerInfo[playerid][rankname],RPName(playerid),MaskedName(iPlayer),iPlayer);
Reply
#3

Ohh, thank you very much +rep
Reply


Forum Jump:


Users browsing this thread: