Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.47 KB | None | 0 0
  1.    new keys, ud, lr;
  2.    GetPlayerKeys(playerid,keys,ud,lr);
  3.  
  4.  @h@   printf("VStartL: %d || Vposition: %d || UpDown: %d", VStart, Vposition, ud);
  5.  
  6.    if(VStart == 1) {
  7.    if(Vposition != 1) {
  8.    if(ud > 0)
  9.    {
  10.    print("UP");
  11.    Vposition--;
  12.    votes[Vposition]++;
  13.    ChooseVoteMission(Vposition);
  14.    }
  15.    }
  16.    if(Vposition != 4)
  17.    {
  18.    if(ud < 0)
  19.    {
  20.    print("DOWN");
  21.    votes[Vposition]--;
  22.    Vposition++;
  23.    ChooseVoteMission(Vposition);
  24.    }
  25.    }
  26.    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement