25.02.2014, 20:10
i created new TD and when i log in my player is seted in zero cordinates and doesnt move, no comands or teleports help.
Code:
Code:
pawn Код:
else if( clickedid == Namas6 )
{
TextDrawHideForPlayer( playerid, Namas0 );
TextDrawHideForPlayer( playerid, Namas1 );
TextDrawHideForPlayer( playerid, Namas2 );
TextDrawHideForPlayer( playerid, Namas3 );
TextDrawHideForPlayer( playerid, Namas4 );
TextDrawHideForPlayer( playerid, Namas5 );
TextDrawHideForPlayer( playerid, Namas6 );
CancelSelectTextDraw( playerid );
new Namas = zInfo[ playerid ][ yraname ];
SetPlayerPos( playerid, nInfo[ Namas ][ pickupX ], nInfo[ Namas ][ pickupY ], nInfo[ Namas ][ pickupZ ] );
SetPlayerInterior( playerid, 0 );
SetPlayerVirtualWorld( playerid, 0 );
zInfo[ playerid ][ yraname ] = 0;
SetCameraBehindPlayer( playerid );
}
pawn Код:
Namas6 = TextDrawCreate( 310.000000, 380.000000, "Iseiti" );
TextDrawBackgroundColor( Namas6, 255 );
TextDrawFont( Namas6, 1 );
TextDrawLetterSize( Namas6, 0.500000, 2.000000 );
TextDrawColor( Namas6, -16776961 );
TextDrawSetOutline( Namas6, 0 );
TextDrawSetProportional( Namas6, 1 );
TextDrawSetShadow( Namas6, 1 );
TextDrawSetSelectable( Namas6, 1 );