Skripta koju koristim:BU
Detaljan opis problema: Kako da ubacim textdraw u server ? Koristim Textdraw Editor v1.0 RC2! Unapred Hvala !!!
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
P.S: Evo kada sam uradio textdraw ovako mi pise:
// TextDraw developed using Zamaroht's Textdraw Editor 1.0
// On top of script:
new Text:Textdraw0;
// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(495.000000, 98.000000, "B-S By Johnny");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, 65535);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 0);
TextDrawSetShadow(Textdraw0, 1);
// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.
[Pomoc] Oko textdrawowa...
Započeo Obrisan korisnik
•18. Jun 2011.• Zaključano937
pregleda
7
postova
18. Jun 2011.
18. Jun 2011.
Shone wrote on June 18, 2011, 2:19 pm:
Znam i ja da sam dobro uradio 😁 , ali kako da ja to ubacim na server?
To dodas pod OnGameModeInit
Textdraw0 = TextDrawCreate(495.000000, 98.000000, "B-S By Johnny");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, 65535);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 0);
TextDrawSetShadow(Textdraw0, 1);A ovo dodas pod new
new Text:Textdraw0;
Ako vec imas Textdraw0 onda promeni to u neko drugo ime.
I da bi ti to pokazao svima koristi ovo
TextDrawShowForAll(Textdraw0);
A to mozes dodati pod public OnPlayerConnect jer mi nisi objasnio gde hoces da ti pokaze to da li hoces celo vreme...
18. Jun 2011.
C:\Users\igicom\Desktop\BS\pawno\include\streamer.inc(40😎 : warning 202: number of arguments does not match definition
C:\Users\igicom\Desktop\BS\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(666) : error 021: symbol already defined: "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : warning 215: expression has no effect
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 001: expected token: ";", but found "]"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 029: invalid expression, assumed zero
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
C:\Users\igicom\Desktop\BS\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(666) : error 021: symbol already defined: "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : warning 215: expression has no effect
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 001: expected token: ";", but found "]"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 029: invalid expression, assumed zero
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
18. Jun 2011.
Shone wrote on June 18, 2011, 2:34 pm:
C:\Users\igicom\Desktop\BS\pawno\include\streamer.inc(40😎 : warning 202: number of arguments does not match definition
C:\Users\igicom\Desktop\BS\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(666) : error 021: symbol already defined: "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : warning 215: expression has no effect
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 001: expected token: ";", but found "]"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 029: invalid expression, assumed zero
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
C:\Users\igicom\Desktop\BS\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(666) : error 021: symbol already defined: "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 028: invalid subscript (not an array or too many subscripts): "Textdraw0"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : warning 215: expression has no effect
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 001: expected token: ";", but found "]"
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : error 029: invalid expression, assumed zero
C:\Users\igicom\Desktop\BS\gamemodes\BS-RP.pwn(2525😎 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Pa rekao sam ti da promenis ako je Textdraw0 ti stavi npr ovako da ti izgleda
Johhny0 = TextDrawCreate(495.000000, 98.000000, "B-S By Johnny");
TextDrawBackgroundColor(Johhny0, 255);
TextDrawFont(Johhny0, 1);
TextDrawLetterSize(Johhny0, 0.500000, 1.000000);
TextDrawColor(Johhny0, 65535);
TextDrawSetOutline(Johhny0, 0);
TextDrawSetProportional(Johhny0, 0);
TextDrawSetShadow(Johhny0, 1);i
new Text:Johhny0;
TextDrawShowForAll(Johhny0);
Samo zameni sa ovim sto si ubacio 😉
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava