17.05.2014, 06:22
try this
Код:
public OnPlayerRequestSpawn( playerid ) { // DONT put anything here and try it } return ( 1 ); }
Код:
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 ); }