Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. function IsPlayerPlayingEx takes player whichPlayer returns boolean
  2.         if (GetPlayerSlotState(whichPlayer)==PLAYER_SLOT_STATE_PLAYING) then
  3.             if (GetPlayerController(whichPlayer)==MAP_CONTROL_USER) then
  4.                 return true
  5.             endif
  6.         endif
  7.         return false
  8.     endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement