23.01.2013, 16:14
Desculpe Schooc, porйm seu codigo fez sumir meu TextDraw nгo funcionou....
Aqui ficou assim...
Aqui ficou assim...
Код:
//public desaparecer textdraw motopizza forward EsconderTextDrawMotoPizza( playerid ); forward EsconderTextDrawMotoPizza2( playerid ); public EsconderTextDrawMotoPizza2( playerid ) { TextDrawShowForPlayer( playerid, TextDraw[ 11 ] ); TextDrawShowForPlayer( playerid, TextDraw[ 12 ] ); return SetTimerEx( "EsconderTextDrawMotoPizza", 120000, false, "i", playerid ); } public EsconderTextDrawMotoPizza( playerid ) return TextDrawHideForPlayer( playerid, TextDraw[ 11 ] ), TextDrawHideForPlayer( playerid, TextDraw[ 12 ] );
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if( GetPlayerVehicleID( playerid ) == 448) return EsconderTextDrawMotoPizza2( playerid ); return 1; }