Jump to content

Question

Posted

Pai , am facut mai multe textdraw-uri care le folosesc la OnPlayerUpdate (vreau sa-l fac "TextDrawSetString") , mai am un textdraw de acest gen si merge perfect dar asta nu apare cand il pun la OnPlayerUpdate

Deci : Daca las textdraw-ul slimplu fara sa-l modific cu TextDrawSetString , textdraw-ul apare tot cum trebuie , odata ce il "editez" cu TextDrawSetString nu apare tot ( apare doar textdraw-ul care nu vreau sa-l modific... ) , nu stiu cat intelegeti , o sa las si poze ,

[pawn]format ( str1 , 50 , "Yes:~r~%d " , Yes ) ;

TextDrawSetString ( mVote4 , str1 ) ;

format ( str2 , 50 , "No:~r~%d " , No ) ;

TextDrawSetString ( mVote5 , str2 ) ;

if ( VotedFor == 0 ) { map = "Ghost Village" ; } else if ( VotedFor == 1 ) { map = "Ghost Town" ; }

format ( str3 , 256 , "Vote for map:~r~%s " , map ) ;

TextDrawSetString ( mVote0 , str3 ) ;

loop ( i , MAX_PLAYERS )

{

    TextDrawShowForPlayer ( i , mVote0 ) ;

    TextDrawShowForPlayer ( i , mVote4 ) ;

    TextDrawShowForPlayer ( i , mVote5 ) ;

}[/pawn]

Asa ar trebui sa arate TD-ul

w1ZghMX.jpg

Asa arata cand bag codul de mai sus la OnPlayerUpdate

J627LGT.jpg

Massari e curva mea

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.