Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Techos

Members
  • Posts

    118
  • Joined

  • Last visited

    Never

Posts posted by Techos

  1. Oh.. i see .. Ryoku is right it works

    this is my DrawPlayerName
    i also removed the End If in this part
    textSize = EngineGetTextWidth(Font_Default, Text)

    SO THIS IS THE REAL CODE WORKING FOR CS:DE

    >! Public Sub DrawPlayerName(ByVal index As Long)
    Dim textX As Long, textY As Long, Text As String, textSize As Long, colour As Long
    >!         If GetPlayerAccess(index) = 0 Then
        Text = Trim$(Player(index).Name) & " - Lvl: " & Player(index).Level
        ElseIf GetPlayerAccess(index) = 1 Then
        Text = "[TESTER] " & Trim$(Player(index).Name) & " - LvL: " & Player(index).Level
        ElseIf GetPlayerAccess(index) = 2 Then
        Text = "[DEVELOPER] " & Trim$(Player(index).Name) & " - LvL: " & Player(index).Level
        ElseIf GetPlayerAccess(index) = 3 Then
        Text = "[ADMIN] " & Trim$(Player(index).Name) & " - LvL: " & Player(index).Level
        ElseIf GetPlayerAccess(index) = 4 Then
        Text = "[OWNER] " & Trim$(Player(index).Name) & " - LvL: " & Player(index).Level
        End If
    >!     textSize = EngineGetTextWidth(Font_Default, Text)

        ' get the colour
        If GetPlayerAccess(index) = 0 Then
        colour = White
        ElseIf GetPlayerAccess(index) = 1 Then
        colour = Blue
        ElseIf GetPlayerAccess(index) = 2 Then
        colour = Green
        ElseIf GetPlayerAccess(index) = 3 Then
        colour = Red
        ElseIf GetPlayerAccess(index) = 4 Then
        colour = Yellow
        End If

        textX = Player(index).x * PIC_X + Player(index).xOffset + (PIC_X \ 2) - (textSize \ 2)
        textY = Player(index).y * PIC_Y + Player(index).yOffset - 32

        If GetPlayerSprite(index) >= 1 And GetPlayerSprite(index) <= Count_Char Then
            textY = GetPlayerY(index) * PIC_Y + Player(index).yOffset - (D3DT_TEXTURE(Tex_Char(GetPlayerSprite(index))).height / 4) + 12
        End If

        Call RenderText(Font_Default, Text, ConvertMapX(textX), ConvertMapY(textY), colour)
    End Sub
  2. Uhm.. why when i drops something they took a 5 minutes before they'll see the item that i drop.
    Is this because of the slow inetnet connection ? or just a bug
  3. ~~Hello.. i just want to request for CS:DE gui .. please i really need CS:DE gui..
    and also PM me the GUIs
    any style
    if anyone can ..
    if no one it's ok i'll just find another way to make GUIs

    Thank you so much!~~
  4. ok.. i have 10 then i suppose to ''ONLY'' use 1 i double click it then it takes all and heal in the normal rate of 1 pot.
    and also i saw a number 10 on my pot icon
  5. No what i mean is it's what i set in the shop
    ITEM:POTION OF HEALTH - 10pcs.
    Price:Gold - 20gold

    after it i bought it from the shop and then i want to use 1 out of 10 i double click it uses all
  6. I'm using CS:DE

    Okay.. so i put 
    ITEM:Potion of Health - Value:10
    Price:Gold - Value:20

    the problem is… when i want to use 1 of 10 potion of health it uses all.
    i double click the 10 potion of health i bought in the shop and then it uses all ?
    is this bug ?

    sorry for english hehe..
  7. ok. because i don't want to create new topic i'll post my other question here
    so look at the pic

    ok so LINDA is here
            *TABLE*
    then  *ME*
    i press CTRL then linda's conversation appeared. how to do like that?  :cheesy:

    sorry for bad english -.-
  8. Okay.. i was needed a logo for my game.. if someone could ? please.?

    Name is "Lightning of the Moon"
    Fore Color : Blue and Red
    Background : Thunders
    Style : anything
    Extras: Moon , Sword , Lightnings if can.
    Font:the pic . if not allowed anything

    i really appreciate the logo thank you so much.
×
×
  • Create New...