random - 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: random (
/showthread.php?tid=299226)
random -
manchestera - 24.11.2011
Anyover problem with randoms lol tring to do a random weapon but getting a couple errors
Код:
new const RandomPistol[3][2] =
{
{22, 300}, //DEagle
{23, 300}, //Shotgun
{24, 300}, //Molotov
};
Код:
C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(179) : error 018: initialization data exceeds declared size
C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(328) : warning 217: loose indentation
C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(784) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Many thanks
Re: random -
manchestera - 24.11.2011
got it did a , XD
Re: random -
Tanush123 - 25.11.2011
whats the line of 179
Re: random -
serman - 25.11.2011
Код:
new const RandomPistol[3][2] =
{
{22, 300}, //DEagle
{23, 300}, //Shotgun
{24, 300}, //Molotov
};
Change it to
Код:
new const RandomPistol[3][2] =
{
{22, 300}, //DEagle
{23, 300}, //Shotgun
{24, 300} //Molotov
};