4 errors after updating my streamer !
#1

I got 4 errors after updating my streamer! Please fix these errors for me
Код HTML:
(16899) : error 017: undefined symbol "distance"
(16899) : warning 215: expression has no effect
(16899) : error 001: expected token: ";", but found ")"
(16899) : error 029: invalid expression, assumed zero
(16899) : fatal error 107: too many error messages on one line
PHP код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStrCOLOR_GREENHouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos 1,.distance 30.0); 
fix that line and give me the correct one please Thanks for help
Reply
#2

Quote:
Originally Posted by Sarra
Посмотреть сообщение
I got 4 errors after updating my streamer! Please fix these errors for me
Код HTML:
(16899) : error 017: undefined symbol "distance"
(16899) : warning 215: expression has no effect
(16899) : error 001: expected token: ";", but found ")"
(16899) : error 029: invalid expression, assumed zero
(16899) : fatal error 107: too many error messages on one line
PHP код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStrCOLOR_GREENHouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos 1,.distance 30.0); 
fix that line and give me the correct one please Thanks for help
To create a new Distance and part of ";" is missing one ; in its function
Reply
#3

Fix it for me ?!
Reply
#4

pawn Код:
new distance[MAX_PLAYERS];

HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1,.distance = 30.0);
Try this.
Reply
#5

@UP : WTF?

[ON-TOPIC]

You can change it to this:
pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .streamdistance = 30.0);
If there are too much lines to change, open streamer.inc and change this:
pawn Код:
native Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 1, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
to this:
pawn Код:
native Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 1, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)