Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new keys, ud, lr;
- GetPlayerKeys(playerid,keys,ud,lr);
- @h@ printf("VStartL: %d || Vposition: %d || UpDown: %d", VStart, Vposition, ud);
- if(VStart == 1) {
- if(Vposition != 1) {
- if(ud > 0)
- {
- print("UP");
- Vposition--;
- votes[Vposition]++;
- ChooseVoteMission(Vposition);
- }
- }
- if(Vposition != 4)
- {
- if(ud < 0)
- {
- print("DOWN");
- votes[Vposition]--;
- Vposition++;
- ChooseVoteMission(Vposition);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement