[Pomoc]TxT-Drawowi

Započeo caupton, April 04, 2011, 19:36:29 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim:FactionGame EDIT
Detaljan opis problema:Erori: Radio sam Jedan TXT draw sacu vam dati code dole pa da vidite da nije do njega :S
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Ewo Ih Erori:
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7985) : error 017: undefined symbol "Textovi"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7986) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7987) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7988) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7989) : error 017: undefined symbol "Textovi"
C:\Users\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7990) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7991) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7992) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7993) : error 017: undefined symbol "Textovi"
:9:Erora :S

Code:
Textovi = TextDrawCreate(339.000000,419.000000,"~r~**Balkan~w~*Gaming** ~b~RolePlay --Dobrodosli--");
               TextDrawAlignment(Text,0);
               TextDrawFont(Text,2);
               TextDrawBackgroundColor(Text,0x000000ff);
               TextDrawLetterSize(Textovi,0.199999,0.799999);
               TextDrawColor(Text,0xffffffff);
               TextDrawSetOutline(Text,1);
                TextDrawSetProportional(Text,1);
               TextDrawSetShadow(Textovi,1);
               SetTimer("Textovi2",15000,true);

Nisi definirao new Text:Textovi;
                                   new Text:Text

Edit...nema erora uopste...ali kada sam ubacio uopste mi se nije pojavilo dole u uglu :S



Da li jos nesto trebam da dodam?
Poslednja Izmena: April 04, 2011, 19:47:45 POSLE PODNE od Nikola_Hawks

Citat: Nikola_Hawks poslato April 04, 2011, 19:45:04 POSLE PODNE
Edit...nema erora uopste...ali kada sam ubacio uopste mi se nije pojavilo dole u uglu :S



Da li jos nesto trebam da dodam?
Pod public OnPlayerSpawn(playerid)
stavis TextDrawShowForPlayer(playerid, Textovi);

Opet Problemcic,

C:\Users\BG-RPG\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(4246) : error 017: undefined symbol "Textovi"

new Text:Textovi;
i
TextDrawShowForPlayer(playerid, imetextdrava);

poznaticovik

Kaki OnPlayerSpawn

Stavi pod OnPlayerConnect

evo ti primjer koda u OnPlayerConnect

public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, ImeTXD);
return 1;
}

C:\Users\Nikola\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(2723) : error 021: symbol already defined: "Itter_OnPlayerConnect"


Izasao mi je ova eror

black_dota

Citat: Nikola_Hawks poslato April 04, 2011, 19:36:29 POSLE PODNE
Skripta koju koristim:FactionGame EDIT
Detaljan opis problema:Erori: Radio sam Jedan TXT draw sacu vam dati code dole pa da vidite da nije do njega :S
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Ewo Ih Erori:
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7985) : error 017: undefined symbol "Textovi"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7986) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7987) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7988) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7989) : error 017: undefined symbol "Textovi"
C:\Users\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7990) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7991) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7992) : error 017: undefined symbol "Text"
C:\Users\\Desktop\BG-RPG\NAPOKON\gamemodes\BFRP.pwn(7993) : error 017: undefined symbol "Textovi"
:9:Erora :S

Code:
Textovi = TextDrawCreate(339.000000,419.000000,"~r~**Balkan~w~*Gaming** ~b~RolePlay --Dobrodosli--");
               TextDrawAlignment(Text,0);
               TextDrawFont(Text,2);
               TextDrawBackgroundColor(Text,0x000000ff);
               TextDrawLetterSize(Textovi,0.199999,0.799999);
               TextDrawColor(Text,0xffffffff);
               TextDrawSetOutline(Text,1);
                TextDrawSetProportional(Text,1);
               TextDrawSetShadow(Textovi,1);
               SetTimer("Textovi2",15000,true);




Koliko ja vidim ti si ovde radio nesto nemoguce lol

forward Textovi2();
public Textovi2()
{
    //tu vec sta ide
}

new Text:Textovi;

public OnGameModeInit()
{
                Textovi = TextDrawCreate(339.000000,419.000000,"~r~**Balkan~w~*Gaming** ~b~RolePlay --Dobrodosli--");
               TextDrawAlignment(Textovi,0);
               TextDrawFont(Textovi,2);
               TextDrawBackgroundColor(Textovi,0x000000ff);
       TextDrawLetterSize(Textovi,0.199999,0.799999);
       TextDrawColor(Textovi,0xffffffff);
       TextDrawSetOutline(Textovi,1);
               TextDrawSetProportional(Textovi,1);
       TextDrawSetShadow(Textovi,1);
               SetTimer("Textovi2",15000,true);
                return true;
}

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Textovi);
    return true;
}