Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerConnect(playerid)
- {
- if(GetPlayerScore(playerid) < 300)
- {
- GivePlayerScore(playerid, 300);
- }
- if (udb_Exists(PlayerName2(playerid)))
- {
- if(PlayerInfo[playerid][LoggedIn] == 0)
- {
- ShowPlayerDialog(playerid, 125, DIALOG_STYLE_PASSWORD, "Login","This account is register!login please","Login","Kick");
- }
- }
- if (!udb_Exists(PlayerName2(playerid)))
- {
- if(PlayerInfo[playerid][Registered] == 0)
- {
- new string[200];
- format(string, sizeof(string),"Welcome to COD Modern Warfare 3 %s\n ", PlayerName2(playerid));
- ShowPlayerDialog(playerid, 126, DIALOG_STYLE_PASSWORD, "Register",string,"Register","Kick");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement