Errors
#1

Anyone knows how to fix these errors ?
PHP код:
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 017undefined symbol "distance"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : warning 215expression has no effect
C
:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 001expected token";"but found ")"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 029invalid expressionassumed zero
C
:\Users\Win7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Line (53864):
PHP код:
HouseInfo[house2][hTextID] = CreateDynamic3DTextLabelstringCOLOR_GREENHouseInfo[house2][hExteriorX], HouseInfo[house2][hExteriorY], HouseInfo[house2][hExteriorZ]+0.5,30.0, .testlos 1, .distance 30.0); 
Reply
#2

You have to define ''distance''

#define distance
Reply
#3

pawn Код:
HouseInfo[house2][hTextID] = CreateDynamic3DTextLabel(string, COLOR_GREEN, HouseInfo[house2][hExteriorX], HouseInfo[house2][hExteriorY], HouseInfo[house2][hExteriorZ]+0.5, 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 30.0);
Reply
#4

Still not working ,it gave me these Errors
PHP код:
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 001expected token"-identifier-"but found "="
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : warning 215expression has no effect
C
:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 001expected token";"but found ")"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 029invalid expressionassumed zero
C
:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply
#5

Quote:
Originally Posted by Dockz
Посмотреть сообщение
You have to define ''distance''

#define distance
No, what the fuck? That will not work at all.

CreateDynamic3DTextLabel doesn't have such parameter as "distance", so I guess it should be "streamdistance" instead.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)