error 001: expected token: ",", but found "-identifier-"
#1

Код:
Info[0] = TextDrawCreate(-6.875000, 438.083526, "_") ;
	TextDrawLetterSize            ( Info [ 0 ]        , 0.449999    , 1.600000                                                                                                                            ) ;
	TextDrawTextSize              ( Info [ 0 ]        , 695.625000  , -33.833328                                                                                                                          ) ;
	TextDrawUseBox                ( Info [ 0 ]        , true                                                                                                                                              ) ;
    TextDrawBoxColor              ( Info [ 0 ]        , 255                                                                                                                                               ) ;
	Info [ 1 ] = TextDrawCreate   ( 3.750000          , 436.333435  , "~w~Untuk List Command -~h~~y~ /help -~w~ Spawn Kendaraan -~h~~y~ /veh -~w~v Mainan -~h~~y~ /attachments" ) ;
	TextDrawLetterSize            ( Info [ 1 ]        , 0.233124    , 1.074999                                                                                                                            ) ;
	TextDrawSetOutline            ( Info [ 1 ]        , 1                                                                                                                                                 ) ;
	TextDrawBackgroundColor       ( Info [ 1 ]        , 51                                                                                                                                                ) ;
	TextDrawFont                  ( Info [ 1 ]        , 2                                                                                                                                                 ) ;
	Info [ 2 ] = TextDrawCreate   ( 505.000000        , 436.333435  , "~h~~y~-~w~ ALL TELEPORTS -~h~~y~ /teles /teles2"                                                                                   ) ;
	TextDrawLetterSize            ( Info [ 2 ]        , 0.233124    , 1.074999                                                                                                                            ) ;
	TextDrawSetOutline            ( Info [ 2 ]        , 1                                                                                                                                                 ) ;
	TextDrawBackgroundColor       ( Info [ 2 ]        , 51 // This                                                                                                                                               ) ;
	TextDrawFont                  ( Info [ 2 ]        , 2// This
Error:
error 001: expected token: ",", but found "-identifier-"

How To Fix It Thank You
Reply
#2

Your code was not readable, I don't even know where the mistake was; however, it compiles.
pawn Код:
Info[ 0 ] = TextDrawCreate( -6.875000, 438.083526, "_" );
TextDrawLetterSize( Info[ 0 ], 0.449999, 1.600000 );
TextDrawTextSize( Info[ 0 ], 695.625000, -33.833328 ) ;
TextDrawUseBox( Info[ 0 ], true );
TextDrawBoxColor( Info[ 0 ], 255 );

Info[ 1 ] = TextDrawCreate( 3.750000, 436.333435, "~w~Untuk List Command -~h~~y~ /help -~w~ Spawn Kendaraan -~h~~y~ /veh -~w~v Mainan -~h~~y~ /attachments" );
TextDrawLetterSize( Info[ 1 ], 0.233124, 1.074999 );
TextDrawSetOutline( Info[ 1 ], 1 );
TextDrawBackgroundColor( Info[ 1 ], 51 );
TextDrawFont( Info[ 1 ], 2 );

Info[ 2 ] = TextDrawCreate( 505.000000, 436.333435, "~h~~y~-~w~ ALL TELEPORTS -~h~~y~ /teles /teles2" ) ;
TextDrawLetterSize( Info[ 2 ], 0.233124, 1.074999 );
TextDrawSetOutline( Info[ 2 ], 1 );
TextDrawBackgroundColor( Info[ 2 ], 51 );
TextDrawFont( Info[ 2 ], 2 );
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Your code was not readable, I don't even know where the mistake was; however, it compiles.
pawn Код:
Info[ 0 ] = TextDrawCreate( -6.875000, 438.083526, "_" );
TextDrawLetterSize( Info[ 0 ], 0.449999, 1.600000 );
TextDrawTextSize( Info[ 0 ], 695.625000, -33.833328 ) ;
TextDrawUseBox( Info[ 0 ], true );
TextDrawBoxColor( Info[ 0 ], 255 );

Info[ 1 ] = TextDrawCreate( 3.750000, 436.333435, "~w~Untuk List Command -~h~~y~ /help -~w~ Spawn Kendaraan -~h~~y~ /veh -~w~v Mainan -~h~~y~ /attachments" );
TextDrawLetterSize( Info[ 1 ], 0.233124, 1.074999 );
TextDrawSetOutline( Info[ 1 ], 1 );
TextDrawBackgroundColor( Info[ 1 ], 51 );
TextDrawFont( Info[ 1 ], 2 );

Info[ 2 ] = TextDrawCreate( 505.000000, 436.333435, "~h~~y~-~w~ ALL TELEPORTS -~h~~y~ /teles /teles2" ) ;
TextDrawLetterSize( Info[ 2 ], 0.233124, 1.074999 );
TextDrawSetOutline( Info[ 2 ], 1 );
TextDrawBackgroundColor( Info[ 2 ], 51 );
TextDrawFont( Info[ 2 ], 2 );
Thank You For Your Help REP +
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)