Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. else if(dialogid == DIALOG_LVMPD_LOGIN)
  2. {
  3. if(!response) return 0;
  4. if(!strlen(inputtext)) return 0;
  5. if(strcmp(inputtext, Password_LVMPD, true)== 0)
  6. {
  7. gTeam[playerid] = TEAM_LVMPD;
  8. SendClientMessage(playerid, COLOR_BLUE, "(LVMPD){FFFFFF} You are now on duty.");
  9. SetPlayerSkin(playerid, 282); //change for ranks later
  10. GivePlayerWeapon(playerid, 3, 10000);
  11. GivePlayerWeapon(playerid, 24, 10000);
  12. GivePlayerWeapon(playerid, 25, 10000);
  13. GivePlayerWeapon(playerid, 31, 10000);
  14. GivePlayerWeapon(playerid, 41, 10000);
  15. }
  16. else
  17. {
  18. SendClientMessage(playerid, COLOR_RED, "(ERROR){FFFFFF} Incorrect password.");
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement