[HELP] JoinPed - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] JoinPed (
/showthread.php?tid=210849)
[HELP] JoinPed -
ZmaXy - 14.01.2011
Код:
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gm.pwn(45793) : error 032: array index out of bounds (variable "JoinPed")
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gm.pwn(45795) : error 032: array index out of bounds (variable "JoinPed")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Lines:
45793: SetPlayerSkin(playerid, JoinPed[57][0]);
45795: ChosenSkin[playerid] = JoinPed[57][0];
Please HELP me!
Re: [HELP] JoinPed -
Kapil - 14.01.2011
it means that you are exceeding the size of your array 'JoinPed'.
check where it is declared, to find its size, l
you should find it ike int JoinPed[MAX_SIZE][MAX_SIZEZ]; or something
and there your MAX_SIZE should be greater then 57, as you are using JoinPed[57][0]