Errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors (
/showthread.php?tid=463927)
Errors -
Drago987 - 14.09.2013
Anyone knows how to fix these errors ?
PHP код:
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 017: undefined symbol "distance"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : warning 215: expression has no effect
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 001: expected token: ";", but found ")"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : error 029: invalid expression, assumed zero
C:\Users\Win7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53864) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Line (53864):
PHP код:
HouseInfo[house2][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[house2][hExteriorX], HouseInfo[house2][hExteriorY], HouseInfo[house2][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
Re: Errors -
Dockz - 14.09.2013
You have to define ''distance''
#define distance
Re: Errors -
Dragonsaurus - 14.09.2013
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);
Re: Errors -
Drago987 - 14.09.2013
Still not working ,it gave me these Errors
PHP код:
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 001: expected token: "-identifier-", but found "="
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : warning 215: expression has no effect
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 001: expected token: ";", but found ")"
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : error 029: invalid expression, assumed zero
C:\Users\Win 7\Downloads\Compressed\NGRP\gamemodes\NGRP_nomysql.pwn(53865) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Re: Errors -
Finn - 14.09.2013
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.