- 0
O micuta Problema...
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Roach
Ii intreb pe cei care stiu, nu prea multi pe aici dar stiu ca, careva dintre voi stiti:
Am aceast "Request" la public OnPlayerConnect:
[pawn]if( !INI_Exist ( pName( playerid ) ) && ( !IsPlayerNPC ( playerid ) ) )
{
new rstring[ 500 ];
format( rstring, 256, "{FFFFFF}Welcome {FF9900}%s{FFFFFF}!", pName( playerid ) );
ShowPlayerDialog( playerid, REGISTERD, DIALOG_STYLE_MSGBOX, rstring, "{FFFFFF} Registering an account is obligatory!\n You will have acces to many features!\n Pressing exit you will be kicked.", "Register", "Kick" );
}
else if( INI_Exist ( pName( playerid ) ) && GetPVarInt( playerid, "Log" ) == 0 && ( !IsPlayerNPC ( playerid ) ) )
{
new lstring[ 500 ];
format( lstring, 256, "{FFFFFF}Welcome {FF9900}%s{FFFFFF}!", pName( playerid ) );
ShowPlayerDialog( playerid, LOGIND, DIALOG_STYLE_MSGBOX, lstring, "{FFFFFF} This account is registered!\n Please login or get out of here\n Pressing exit you will be kicked.", "Login", "Kick" );
}[/pawn]
Dar apare in ambele cazuri numai pentru Prim-ul Player care intra, adica PlayerID 0, de ce?
Underground-GFX
0 answers to this question
Recommended Posts