Help mee please - 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: Help mee please (
/showthread.php?tid=531924)
Help mee please -
arlindi - 15.08.2014
Hello a little problem here.
PHP код:
TextdrawMenu3 = TextDrawCreate(441.599884, 32.106666, "~y~ZOMBIE APOCALYPSE ~n~~w~MAP:%s ~n~~r~INFO: ~w~RUNNING",Map[MapName]);// the line
TextDrawLetterSize(TextdrawMenu3, 0.312399, 1.764266);
TextDrawAlignment(TextdrawMenu3, 2);
TextDrawColor(TextdrawMenu3, -1);
TextDrawSetShadow(TextdrawMenu3, 0);
TextDrawSetOutline(TextdrawMenu3, 1);
TextDrawBackgroundColor(TextdrawMenu3, 51);
TextDrawFont(TextdrawMenu3, 2);
TextDrawSetProportional(TextdrawMenu3, 1);
Errorrs
PHP код:
C:\Users\Arlindi\Desktop\fsdf - Copy - Copy\gamemodes\zma4.pwn(7578) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Re: Help mee please -
Faisal_khan - 15.08.2014
Use
format()
pawn Код:
new string[128];
format(string, sizeof(string), "~y~ZOMBIE APOCALYPSE ~n~~w~MAP:%s ~n~~r~INFO: ~w~RUNNING", Map[MapName]);
TextDrawCreate(441.599884, 32.106666, string);
Re: Help mee please -
arlindi - 15.08.2014
When i use this my textdraw hiddened when i remove this i can look this textdraw.
Re: Help mee please -
arlindi - 15.08.2014
AnyOne?
Re: Help mee please -
ThePhenix - 15.08.2014
Make sure you use TextDrawShowForPlayer to display that textdraw and remember you have this to format a textdraw:
https://sampwiki.blast.hk/wiki/TextDrawSetString