Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. public OnPlayerConnect(playerid)
  2. {
  3. if(GetPlayerScore(playerid) < 300)
  4. {
  5. GivePlayerScore(playerid, 300);
  6. }
  7. if (udb_Exists(PlayerName2(playerid)))
  8. {
  9. if(PlayerInfo[playerid][LoggedIn] == 0)
  10. {
  11. ShowPlayerDialog(playerid, 125, DIALOG_STYLE_PASSWORD, "Login","This account is register!login please","Login","Kick");
  12. }
  13. }
  14. if (!udb_Exists(PlayerName2(playerid)))
  15. {
  16. if(PlayerInfo[playerid][Registered] == 0)
  17. {
  18. new string[200];
  19. format(string, sizeof(string),"Welcome to COD Modern Warfare 3 %s\n ", PlayerName2(playerid));
  20. ShowPlayerDialog(playerid, 126, DIALOG_STYLE_PASSWORD, "Register",string,"Register","Kick");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement