Help mee please
#1

Hello a little problem here.

PHP код:
    TextdrawMenu3 TextDrawCreate(441.59988432.106666"~y~ZOMBIE APOCALYPSE ~n~~w~MAP:%s ~n~~r~INFO: ~w~RUNNING",Map[MapName]);// the line
    
TextDrawLetterSize(TextdrawMenu30.3123991.764266);
    
TextDrawAlignment(TextdrawMenu32);
    
TextDrawColor(TextdrawMenu3, -1);
    
TextDrawSetShadow(TextdrawMenu30);
    
TextDrawSetOutline(TextdrawMenu31);
    
TextDrawBackgroundColor(TextdrawMenu351);
    
TextDrawFont(TextdrawMenu32);
    
TextDrawSetProportional(TextdrawMenu31); 
Errorrs

PHP код:
C:\Users\Arlindi\Desktop\fsdf Copy Copy\gamemodes\zma4.pwn(7578) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

Reply
#2

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);
Reply
#3

When i use this my textdraw hiddened when i remove this i can look this textdraw.
Reply
#4

AnyOne?
Reply
#5

Make sure you use TextDrawShowForPlayer to display that textdraw and remember you have this to format a textdraw:

https://sampwiki.blast.hk/wiki/TextDrawSetString
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)