PHP код:
C:\Documents and Settings\Fabio\Ambiente de trabalho\jogos\v\gamemodes\Brasil Play Town.pwn(1258) : error 052: multi-dimensional arrays must be fully initialized
C:\Documents and Settings\Fabio\Ambiente de trabalho\jogos\v\gamemodes\Brasil Play Town.pwn(19124) : warning 217: loose indentation
C:\Documents and Settings\Fabio\Ambiente de trabalho\jogos\v\gamemodes\Brasil Play Town.pwn(44763) : error 017: undefined symbol "NameTimer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP код:
1258 };
1259 new cores[] = {
1260 COLOR_LIGHTGREEN
1261 };
1262 new Sequestrartime[MAX_PLAYERS];
1263 enum e_votacao
1264 {
1265 bool:iniciada,
1266 sim,
1267 nao,
1268 Terminio
1269 }
pawn Код:
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new string[128];
NameTimer();
foreach(Player,i)
{
if(IsPlayerConnected(i))
{
GetPlayerPos(i, oldposx, oldposy, oldposz);
new tmpcar = GetPlayerVehicleID(i);
if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
{
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
format(string, sizeof(string), "~w~%s~n~~r~Produtos requeridos~w~: %d~n~~y~Preњo por Produto: ~w~: R$ %d ~n~~g~Fundos: ~w~: R$ %d",SBizzInfo[h][sbMessage],(SBizzInfo[h][sbMaxProducts]-SBizzInfo[h][sbProducts]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
GameTextForPlayer(i, string, 5000, 3);
return 1;
}
if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
if(SBizzInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "~w~%s~w~~n~dono : %s~n~extorsљo : %s~n~taxa: ~g~R$ %d ~w~Level: %d ~n~entrada /entrar",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
}
else
{
format(string, sizeof(string), "~w~%s~w~~n~a empresa estЃ a venda~n~preњo: ~g~R$ %d ~w~Level : %d ~n~para comprar a empresa: /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
}
GameTextForPlayer(i, string, 5000, 3);
return 1;
}