Advertisement
Guest User

Set everybody on fire GTA 5 [c++]

a guest
May 24th, 2015
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. int playerCount = NETWORK::NETWORK_GET_NUM_CONNECTED_PLAYERS();
  2.  
  3. for(int i = 0; i < playerCount; i++) {
  4.  
  5. Ped PlayerPed = PLAYER::GET_PLAYER_PED(i);
  6. Vector3 PlayerPos = ENTITY::GET_ENTITY_COORDS(PlayerPed, false);
  7.  
  8. FIRE::START_SCRIPT_FIRE(PlayerPos.x, PlayerPos.y, PlayerPos.z, 5, false);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement