Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- THIS FILE IS A MODDED VERSION OF A FILE PART OF GTA V SCRIPT HOOK SDK
- http://dev-c.com
- (C) Alexander Blade 2015
- */
- #include "script.h"
- void update_features()
- {
- while (ENTITY::IS_ENTITY_DEAD(PLAYER::PLAYER_PED_ID()) || PLAYER::IS_PLAYER_BEING_ARRESTED(PLAYER::PLAYER_ID(), TRUE))
- WAIT(0);
- Ped playerPed = PLAYER::PLAYER_PED_ID();
- BOOL bPlayerExists = ENTITY::DOES_ENTITY_EXIST(playerPed);
- if (bPlayerExists){
- PED::SET_PED_CAN_BE_DRAGGED_OUT(playerPed, false);
- }
- }
- void main()
- {
- while (true)
- {
- update_features();
- WAIT(0);
- }
- }
- void ScriptMain()
- {
- srand(GetTickCount());
- main();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement