SHARE
TWEET

Untitled

a guest Oct 17th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function blumen (client,cmd,mann,frau)
  2. local target1 = getPlayerFromName(mann);
  3. local target2 = getPlayerFromName(frau);
  4.  
  5.     outputChatBox("Die Spieler "..getPlayerName(target1).." und "..getPlayerName(target2).." haben geheiratet.",root,255,255,0);
  6.     setElementData(target1,"Geheiratet",true);
  7.     setElementData(target2,"Geheiratet",true);
  8. end
  9. addCommandHandler("hochzeit",blumen);
  10.  
  11. function blumenscheidung (client,cmd,mann,frau)
  12. local target1 = getPlayerFromName(mann);
  13. local target2 = getPlayerFromName(frau);
  14.  
  15.     if getElementData(target1,"Geheiratet") == true and getElementData(target2,"Geheiratet") == true then
  16.         outputChatBox("Die Spieler "..getPlayerName(target1).." und "..getPlayerName(target2).." haben sich geschieden. (Jippijajeej)",root,255,0,0);
  17.     end
  18. end
  19. addCommandHandler("scheidung",blumenscheidung);
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