- 0
Textdraw
-
Similar Content
-
- 8 answers
- 811 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Rimmon
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
Asa arata cand bag codul de mai sus la OnPlayerUpdate
Massari e curva mea
0 answers to this question
Recommended Posts