21.11.2014, 14:57
Pessoal, podem em ajudar urgente? estou com um random aqui, mais nгo sei como fazer, ou seja nгo tenho muita exp, alguйm pode me ensinar? tipo, esta dando essas seguintes Warning's..
Isso ae й pra sentar o veiculo aleatoriamente em uma posiзгo depois de a pessoa te comprado um veiculo, mais nгo sei como fazer..
Код:
C:\Documents and Settings\P.Henrique\Desktop\Brasil Advanced Life - BAL\gamemodes\WSA.pwn(668) : warning 213: tag mismatch C:\Documents and Settings\P.Henrique\Desktop\Brasil Advanced Life - BAL\gamemodes\WSA.pwn(668) : warning 213: tag mismatch C:\Documents and Settings\P.Henrique\Desktop\Brasil Advanced Life - BAL\gamemodes\WSA.pwn(51901) : warning 202: number of arguments does not match definition C:\Documents and Settings\P.Henrique\Desktop\Brasil Advanced Life - BAL\gamemodes\WSA.pwn(51901) : warning 202: number of arguments does not match definition C:\Documents and Settings\P.Henrique\Desktop\Brasil Advanced Life - BAL\gamemodes\WSA.pwn(51901) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings.
pawn Код:
new Float:RandomPosVeh[][] =
{
{2119.5361,2155.3110,10.4511,180.3939, 1, 1} // warning 213 - "1, 1" > a cor do veiculo
/*{2119.5361,2155.3110,10.4511,180.3939, 1, 1},
{2119.5361,2155.3110,10.4511,180.3939, 1, 1} */
};
cCarro[idx] = AddStaticVehicle(ModeloVeiculo[playerid], RandomPosVeh[rdon][0], RandomPosVeh[rdon][1], RandomPosVeh[rdon][2]); // warning 202