27.04.2017, 02:35
(
Последний раз редактировалось Sc0pion; 17.08.2017 в 11:41.
)
Fixed!
GetPlayerPos(playerid, AccInfo[playerid][currentpos][0], AccInfo[playerid][currentpos][1], AccInfo[playerid][currentpos][2]);
enum e_somethings { hi, hello, samp[3], okay };
Somethings[playerid][0] == Somethings[playerid][hi] Somethings[playerid][1] == Somethings[playerid][hello] Somethings[playerid][2][0] == Somethings[playerid][samp][0] Somethings[playerid][2][1] == Somethings[playerid][samp][1] Somethings[playerid][2][2] == Somethings[playerid][samp][2] Somethings[playerid][3] == Somethings[playerid][okay]
GetPlayerPos(playerid, AccInfo[MAX_PLAYERS][currentpos[0]], AccInfo[MAX_PLAYERS][currentpos[1]], AccInfo[MAX_PLAYERS][currentpos[2]);
Errors highlighted. Use playerid instead of MAX_PLAYERS. |
GetPlayerPos(playerid, AccInfo[playerid][currentpos][0], AccInfo[playerid][currentpos][1], AccInfo[playerid][currentpos][2]);