So I have a question about public SetPlayerTeamFromClass(playerid, classid) textdraw in it!
#1

So here is a thing.. Never worked with textdraws...

Just I want to know why this isn't working ?
pawn Код:
new Text:Textdraw0;
public SetPlayerTeamFromClass(playerid, classid)
{
    switch(classid)
    {
        case 0..3:
        {
            Group_SetPlayer(gHoodRats, playerid, true);
            Textdraw0 = TextDrawCreate(317.000000, 299.000000, "Hood Rats");
            TextDrawAlignment(Textdraw0, 2);
            TextDrawBackgroundColor(Textdraw0, 255);
            TextDrawFont(Textdraw0, 0);
            TextDrawLetterSize(Textdraw0, 0.979999, 3.799998);
            TextDrawColor(Textdraw0, -1);
            TextDrawSetOutline(Textdraw0, 0);
            TextDrawSetProportional(Textdraw0, 1);
            TextDrawSetShadow(Textdraw0, 1);
            TextDrawSetSelectable(Textdraw0, 0);
            SetPlayerPos(playerid,1975.2399,-1220.0157,25.0779); // position of the player in the class selection
            SetPlayerCameraPos(playerid,1969.5686,-1224.0016,24.9909); // Cameraposition
            SetPlayerCameraLookAt(playerid,1975.2399,-1220.0157,25.0779);
            SetPlayerFacingAngle(playerid,122.4500);
            SetPlayerColor(playerid,0xA000FFFF); // Teamcolor
        }
It's not showing up!
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawCreate

Last orange box
Reply
#3

Thanks worked..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)