Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script_name("Collision")
- function main()
- repeat wait(0) until isSampAvailable()
- sampAddChatMessage("Collision load", 0xFFFFFF)
- sampRegisterChatCommand('col',cmd)
- while true do wait(0)
- if Activate then
- res, car = storeCarCharIsInNoSave(playerPed)
- if res then
- setCarCollision(car, true)
- Activate = false
- end
- end
- end
- end
- function cmd()
- Activate = not Activate
- if Activate then
- sampAddChatMessage("Enable", - 1)
- else
- sampAddChatMessage("Disable", - 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement