17.05.2014, 06:02
Код:
public OnPlayerConnect( playerid ) { if( GetPVarInt( playerid, "pLog" ) == 0 ) { if( INI_Exist ( pName( playerid ) ) ) { SystemMsg( playerid, "This name is already registered. Please /login [password] to login." ); CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/login"); } else{ SystemMsg( playerid, "This name is not registered. /register password for free $150,000!" ); CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/register"); } } return ( 1 ); }