public OnPlayerSpawn( playerid )
{
print( "Le Hello" );
print( "Atsakome nr3 " );
// :Rodome, Naikiname Tekstus
TextDrawShowForPlayer( playerid, Engine );
TextDrawShowForPlayer( playerid, Powered );
TextDrawHideForPlayer( playerid, ConnectBox );
if( newguy[ playerid ] )
{
new
rand = random( sizeof( RandomSpawn ) )
;
SetPlayerPos( playerid,
RandomSpawn[ rand ][ 0 ],
RandomSpawn[ rand ][ 1 ],
RandomSpawn[ rand ][ 2 ] );
SetPlayerFacingAngle(playerid,
RandomSpawn[ rand ][ 3 ] );
newguy[ playerid ] = false;
print( " atsakome " );
ShowPlayerDialog( playerid,900, 1, "Įveskite Savo EMAILĄ", "Įveskite:", "Tęsti", "" );
}
if( PVar[ playerid ][ pLastX ] != 0.0 && PVar[ playerid ][ pLastY ] != 0 )
{
TextDrawHideForPlayer( playerid, ConnectBox );
SetPlayerPos( playerid,
PVar[ playerid ][ pLastX ],
PVar[ playerid ][ pLastY ],
PVar[ playerid ][ pLastZ ] );
SetPlayerInterior( playerid, PVar[ playerid ][ pInt ] );
print( " atsakome Nr2" );
new
msg[ 210 ]
;
format( msg, sizeof msg, "Sveiki Sugrįћe Į Serverį {D80000} %s {FFFFFF}\
\nApie Ћaidimo Naujienas Galite Suћinoti Suvede\
\n{FF8C00} (/naujienos){FFFFFF}", pName( playerid ) );
ShowPlayerDialog( playerid, 90, DIALOG_STYLE_MSGBOX, "Serveris", msg, "Uћdaryti", "" );
}
return true;
}
|
Ensure you return 1 in OnPlayerSpawn in all other scripts.
This forum requires that you wait 120 seconds between posts. Please try again in 72 seconds. |