26.09.2015, 20:45
They help me? I get these 2 errors
(56244) : error 029: invalid expression, assumed zero
(56268 ) : error 029: invalid expression, assumed zero
CODE:
Thanks
(56244) : error 029: invalid expression, assumed zero
(56268 ) : error 029: invalid expression, assumed zero
CODE:
Код:
forward OnBizzTextdrawUpdate(bid); public OnBizzTextdrawUpdate(bid) { new string[256]; for(new player; player< MAX_PLAYERS; player++) { if(PlayerToPoint(2.0, player, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez])) { if(BizzInfo[bid][bOwned] == 0) { DestroyDynamic3DTextLabel(Bizz3DText[bid]); DestroyDynamic3DTextLabel(Bizz3DTextInt1[bid]); format(string, sizeof(string), "%s~n~~w~Propietario: ~r~En Venta!~n~~w~Extorsiуn: ~b~En Venta!~n~~w~Nivel: ~y~%d~n~~w~Precio: ~g~$%d~n~~w~Para comprar ~r~~k~/comprarnegocio", BizzInfo[bid][bName],BizzInfo[bid][bLevelNeeded], BizzInfo[bid][bBuyPrice]); TextDrawShowForPlayer(player, NegociosText[player]); TextDrawSetStringEx(NegociosText[player], string); Bizz3DTextInt1[bid] = CreateDynamic3DTextLabel(string,0xAAAAFFFF, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez],5.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,0,1); BizzPickup[bid] = CreateDynamicPickup(1272, 1, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez]); return 1; } } } else //56244 { for(new player; player< MAX_PLAYERS; player++) { OcultarInfo(player); } } //else for(new player; player< MAX_PLAYERS; player++) { if(PlayerToPoint(2.0, player, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez])) { if(BizzInfo[bid][bOwned] == 1) { DestroyDynamic3DTextLabel(Bizz3DText[bid]); DestroyDynamic3DTextLabel(Bizz3DTextInt1[bid]); format(string, sizeof(string), "%s~n~~w~Propietario: ~r~%s~n~~w~Extorsiуn: ~b~%s~n~~w~Nivel: ~y~%d~n~~w~Info: Pulsa ~r~Y ~w~para Entrar.", BizzInfo[bid][bName], BizzInfo[bid][bOwner],BizzInfo[bid][bExtortion]); TextDrawShowForPlayer(player, NegociosText[player]); TextDrawSetStringEx(NegociosText[player], string); Bizz3DTextInt1[bid] = CreateDynamic3DTextLabel(string,0xAAAAFFFF, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez],5.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,0,1); BizzPickup[bid] = CreateDynamicPickup(1272, 1, BizzInfo[bid][bEntrancex], BizzInfo[bid][bEntrancey], BizzInfo[bid][bEntrancez]); } } } else //56268 { for(new player; player< MAX_PLAYERS; player++) { OcultarInfo(player); } } return 1; }