SA-MP Forums Archive
A question regarding playerid - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: A question regarding playerid (/showthread.php?tid=633875)



A question regarding playerid - Tudounaozi - 08.05.2017

See this

Код:
    foreach(new i : Player)
Код:
format(string, sizeof(string), "(ID:%i) %s, Rank: %s.", playerid, sendername, FactionRank[GetPVarInt(playerid, "Member")][GetPVarInt(i, "Rank")]); }
This playerid shows the player who uses this command, how do I write the foreach(new i : player)'s ID in this?

like i, "playerid" ?


Re: A question regarding playerid - PawnFox - 08.05.2017

I do not understand what are you trying to say. Can you be more explicit.