SA-MP Forums Archive
Create3d Help! +rep - 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: Create3d Help! +rep (/showthread.php?tid=433052)



Create3d Help! +rep - Eliminator - 25.04.2013

Hmm, Is there anywrong with these ? Cuase they don't work..


^^^^^^^^^^^^^^

It's on
PHP код:
public OnGameModeInit()
{
Create3DTextLabel("Welcome to [ExE] Server",0x3A47DEFF,-2511.40, -620.57132.70,30.0,1);
Create3DTextLabel("Make Sure to read /cmds /help /rules Or ask an admin",0x4B00B0AA,-2426.04, -606.15132.56,30.0,1);
Create3DTextLabel("I Sell hotdogs,/heal for a Hotdog (100$)",0xAFAFAFAA,-2384.75, -584.45132.11,30.0,1);
Create3DTextLabel("Enjoy Drifting in [ExE] server!",0xFF9900AA,-2465.15, -488.96103.55,30.0,1);
Create3DTextLabel("[ExE] Welcome To ExE Drift Server",0xFF0000AA,-2486.28, -618.65132.55,30.0,1);
Create3DTextLabel("Enjoy Drifting in our Drift server and hope you like it",0x3A47DEFF,-2425.48, -605.30132.56,30.0,1); 
It doesnt load when i join -.-


Re: Create3d Help! +rep - Pottus - 25.04.2013

Putting my money on the virtualworld you have set to 1 make sure the players vw is the same as that parameter.


Re: Create3d Help! +rep - FunnyBear - 25.04.2013

Under OnPlayerConnect, try add it. So it will look like this:

pawn Код:
public OnPlayerConnect(playerid)
{
    new
        3D1,
        3D2,
        3D3,
        3D4,
        3D5,
        3D6;
       
       
    3D1[playerid] = Create3DTextLabel("Welcome to [ExE] Server",0x3A47DEFF,-2511.40, -620.57, 132.70,30.0,1);
    3D2[playerid] = Create3DTextLabel("Make Sure to read /cmds /help /rules Or ask an admin",0x4B00B0AA,-2426.04, -606.15, 132.56,30.0,1);
    3D3[playerid] = Create3DTextLabel("I Sell hotdogs,/heal for a Hotdog (100$)",0xAFAFAFAA,-2384.75, -584.45, 132.11,30.0,1);
    3D4[playerid] = Create3DTextLabel("Enjoy Drifting in [ExE] server!",0xFF9900AA,-2465.15, -488.96, 103.55,30.0,1);
    3D5[playerid] = Create3DTextLabel("[ExE] Welcome To ExE Drift Server",0xFF0000AA,-2486.28, -618.65, 132.55,30.0,1);
    3D6[playerid] = Create3DTextLabel("Enjoy Drifting in our Drift server and hope you like it",0x3A47DEFF,-2425.48, -605.30, 132.56,30.0,1);
}



Re: Create3d Help! +rep - Pottus - 25.04.2013

It's VW problem FunnyBear, your idea will end up filling up all the 3dtextlabael slots.


Re: Create3d Help! +rep - FunnyBear - 25.04.2013

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
It's VW problem FunnyBear, your idea will end up filling up all the 3dtextlabael slots.
Sorry, I didn't know. I just gave it a try, and you don't have to be harsh on me, by calling me a dumbass scripter.


Re: Create3d Help! +rep - verlaj - 25.04.2013

or you could also use OnPlayerSpawn Function to show 3DTextLabels


Re: Create3d Help! +rep - MP2 - 25.04.2013

You don't show/hide 3D text labels. He doesn't want them per-player. He needs to create them under OnGameModeInit. Stop telling him stuff wrong because you're NOT helping him, you're going to confuse people.


Re: Create3d Help! +rep - Red_Dragon. - 25.04.2013

Just leave it as it is under OnGameModeInit and check that the player's VW is the same as the VW of the 3D text label (VW 1)


Re: Create3d Help! +rep - AmsterdamCopsAndRobbers - 25.04.2013

Put It onFiltesscriptInIt i got tho works fine