random
#1

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
Reply
#2

got it did a , XD
Reply
#3

whats the line of 179
Reply
#4

Код:
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
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)