daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Feb 21st, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public OnPlayerRegister(playerid,password[])
  2. {
  3.     if(udb_Create(PlayerName[playerid],password) && !Registered[playerid])
  4.     {
  5.         Registered[playerid]=true;
  6.         LoggedIn[playerid]=true;
  7.        
  8.         SavePlayerStats(playerid);
  9.         if(GetPlayerLanguage(playerid)==LANG_DE)
  10.             SendFormattedMessage(playerid,COLOR_ORANGE,"Erfolgreich mit registriert mit Passwort '%s'!",password);
  11.         else
  12.             SendFormattedMessage(playerid,COLOR_ORANGE,"Successfully registered with password '%s'!",password);
  13.         ShowPlayerRulesDialog(playerid);
  14.         ShowPlayerStartMoneyDialog(playerid);
  15.         SetPlayerMoney(playerid,5000);
  16.         SendLanguageMessage(playerid,COLOR_ORANGE,"Du bekommst 5000 $ Startgeld. Viel SpaƟ!","You get 5000 $ Startmoney. Have fun");
  17.         return 1;
  18.     }
  19.     return 0;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top