CreateDynamic3DTextLabel - 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: CreateDynamic3DTextLabel (
/showthread.php?tid=449507)
CreateDynamic3DTextLabel -
nor15 - 09.07.2013
SOLVED But ,
PHP код:
DestroyDynamic3DTextLabel(moneybag1);
DestroyDynamic3DTextLabel(moneybagt2);
PHP код:
moneybagt1 = CreateDynamic3DTextLabel("Press N to pick up!",COLOR_WHITE,2142.1763,1640.9478,993.5761,30.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
moneybagt2 = CreateDynamic3DTextLabel("Press N to pick up!",COLOR_WHITE,2146.0569,1640.5050,993.5761,30.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ERRORS:
PHP код:
D:\Games\SFCRRPGv1.1\Best - Copy\gamemodes\SFCRRPG.pwn(15124) : warning 213: tag mismatch
D:\Games\SFCRRPGv1.1\Best - Copy\gamemodes\SFCRRPG.pwn(15125) : warning 213: tag mismatch
D:\Games\SFCRRPGv1.1\Best - Copy\gamemodes\SFCRRPG.pwn(21461) : warning 213: tag mismatch
D:\Games\SFCRRPGv1.1\Best - Copy\gamemodes\SFCRRPG.pwn(21462) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Re: CreateDynamic3DTextLabel -
DobbysGamertag - 09.07.2013
pawn Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
I presume you followed that?
Re: CreateDynamic3DTextLabel -
nor15 - 09.07.2013
I think this is right , but same problems
PHP код:
moneybagt1 = CreateDynamic3DTextLabel("Press N to pick up!",0xFFFFFFAA,2142.17,1640.94,993.57,30.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
moneybagt2 = CreateDynamic3DTextLabel("Press N to pick up!",0xFFFFFFAA,2146.05,1640.50,993.57,30.0,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
Re: CreateDynamic3DTextLabel -
Micius - 09.07.2013
pawn Код:
new Text:moneybagt1;
new Text:moneybagt2;