Advertisement
Guest User

Untitled

a guest
Feb 6th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. [!] buystage = CreateDynamicRectangle(Float:965.7295, Float:963.1254, Float:993.6744, Float:998.1960, -1, -1, -1, 0);
  2.  
  3. public OnPlayerEnterDynamicArea(playerid, areaid)
  4. {
  5.     if(areaid == buystage)
  6.     {
  7.         DisableRemoteVehicleCollisions(playerid, 1);
  8.     }
  9. }
  10.  
  11. public OnPlayerLeaveDynamicArea(playerid, areaid)
  12. {
  13.     if(areaid == buystage)
  14.     {
  15.         DisableRemoteVehicleCollisions(playerid, 0);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement