Advertisement
Guest User

Untitled

a guest
Nov 20th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. DIALOG:42(playerid,response,listitem,inputtext[]) // GUI:AKTIVIERUNG
  2. {
  3. if(response == 1)
  4. {
  5. if(pInfo[playerid][pIsAkt] == 0)
  6. {
  7. if(strlen(inputtext) == pInfo[playerid][pAktivierung])
  8. {
  9. pInfo[playerid][pIsAkt] = 0;
  10. pInfo[playerid][pAktivierung] = 292014904;
  11.  
  12. }
  13. else
  14. {
  15. SendClientMessage(playerid, COLOR_WHITE, "Fehlerhafter Code!");
  16. }
  17. }
  18. else
  19. {
  20. SendClientMessage(playerid, COLOR_WHITE, "Du bist schon Aktiviert!");
  21. }
  22. }
  23. if(response == 0)
  24. {
  25. Kick(playerid);
  26. }
  27. return 1;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement