SA-MP Forums Archive
3dLabel dosen't show in game? - 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: 3dLabel dosen't show in game? (/showthread.php?tid=474666)



3dLabel dosen't show in game? - Tuntun - 09.11.2013

Код:
	Create3DTextLabel("Trucks are not allowed on this road!",0xFF0000FF,1560.1462,903.8318,10.8203,0,0,0);
	Create3DTextLabel("Trucks are not allowed on this road!",0xFF0000FF,1559.3630,792.3956,11.4725,0,0,0);
        Create3DTextLabel("Drive slow!,Danger Road!",0xFF0000FF,1479.1388,825.0556,6.9071,0,0,0);
3dLabel dosen't show in game? Also no errors.


Re: 3dLabel dosen't show in game? - PakistaniBaba - 09.11.2013

Код:
   Create3DTextLabel("Trucks are not allowed on this road!",0xFF0000FF,1560.1462,903.8318,10.8203,0,0,1);
	 Create3DTextLabel("Trucks are not allowed on this road!",0xFF0000FF,1559.3630,792.3956,11.4725,0,0,1);
            Create3DTextLabel("Drive slow!,Danger Road!",0xFF0000FF,1479.1388,825.0556,6.9071,0,0,1);
Check This Mate


Re: 3dLabel dosen't show in game? - Tuntun - 09.11.2013

Ah... the virtul world!


Re: 3dLabel dosen't show in game? - Tuntun - 09.11.2013

Still not working.. wtf


Re: 3dLabel dosen't show in game? - Patrick - 09.11.2013

The problem is you put 0 in drawdistance that's why It won't work, try this one

pawn Код:
//Parameters
//Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
Create3DTextLabel("Trucks are not allowed on this road!", 0xFF0000FF, 1560.1462, 903.8318, 10.8203, 50.0, 0, 0);
Create3DTextLabel("Trucks are not allowed on this road!", 0xFF0000FF, 1559.3630, 792.3956, 11.4725, 50.0, 0, 0);
Create3DTextLabel("Drive slow!,Danger Road!", 0xFF0000FF, 1479.1388, 825.0556, 6.9071, 50.0, 0, 0);



Re: 3dLabel dosen't show in game? - PakistaniBaba - 09.11.2013

Mate first go in game and check thatX,Y,Z are at the same place

Код:
/gotoco 1479.1388 825.0556 6.9071 0



Re: 3dLabel dosen't show in game? - boomerboom - 09.11.2013

Look at my singtrue.


Re: 3dLabel dosen't show in game? - Tuntun - 09.11.2013

Ooh.. yea thanks.. it's work. +1 rep. And what is the line to freeze a player? like CMD:blablab(playerid,params[])
{
what the line?
return ;1
}

I want to know this because i wanna make my own afk system.


Re: 3dLabel dosen't show in game? - PakistaniBaba - 09.11.2013

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Ooh.. yea thanks.. it's work. +1 rep. And what is the line to freeze a player? like CMD:blablab(playerid,params[])
{
what the line?
return ;1
}

I want to know this because i wanna make my own afk system.
Код:
TogglePlayerControllable(giveplayerid, 0);
Change 0 to 1 for unfreeze


Re: 3dLabel dosen't show in game? - Lajko1 - 09.11.2013

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Ooh.. yea thanks.. it's work. +1 rep. And what is the line to freeze a player? like CMD:blablab(playerid,params[])
{
what the line?
return ;1
}

I want to know this because i wanna make my own afk system.
pawn Код:
CMD:frezze(playerid,params[])
{
    TogglePlayerControllable(playerid,0); // 0 for frezze, 1 for unfrezze
    return 1;
}