SA-MP Forums Archive
playerinfo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: playerinfo (/showthread.php?tid=480272)



playerinfo - rober98 - 09.12.2013

how can i define "playerinfo" ?


Re: playerinfo - Mauzen - 09.12.2013

Thats gamemode-specific. Noone can tell you without knowing what code youre using.


Re: playerinfo - Riddy - 09.12.2013

PlayerInfo is a commonly used variable for storing player data in. If you can't define that, then learn coding by starting something more simpler.


Re: playerinfo - Sgt.TheDarkness - 10.12.2013

I think this is what you mean? If you are unsure on what this means, I would do some research in the SA-MP Wiki....


Код:
enum PlayerInfo
{
     Var1,
     Var2[10]
}
new pInfo[MAX_PLAYERS][PlayerInfo]; // So you can either use pInfo[playerid] or PlayerInfo[playerid]