Fenton Posted December 18, 2015 Share Posted December 18, 2015 (edited) Hello guys, I am trying to add "dsher" to Bone County and Tierra Robada, "cdeput" in Flint County, and custom sheriff model in Whetstone, the script is working properly, Said cop models spawning on those said zones but I have a problem on this script, I always get crash report everytime when I approach the Flint Intersection, the game crashes, I don't know why but i am sure the crash report are from my compiled script, There are the lines. (Please ignore "csher2", that was just my added model.) {$CLEO}0000: :newfaceswait 0if8154: not actor $PLAYER_ACTOR in_zone 'RED' // RED jf @redcopif8154: not actor $PLAYER_ACTOR in_zone 'FLINTC' // Flint jf @flintcopif8154: not actor $PLAYER_ACTOR in_zone 'WHET' // Desert jf @flintcop2if8154: not actor $PLAYER_ACTOR in_zone 'BONE' // Desert jf @bonecopif8154: not actor $PLAYER_ACTOR in_zone 'ROBAD' // Desert jf @tierracopif8154: not actor $PLAYER_ACTOR in_zone 'ROBAD1' // Desert jf @tierracop2goto @newfaces :[email protected] = #CSHERgosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #CSHER virtual_protect 0 //Red country sheriffwait 00249: release_model [email protected]@s = 'RED'goto @not_in_zone :[email protected] = #CDEPUTgosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #CDEPUT virtual_protect 0 //Flint sheriffwait 00249: release_model [email protected]@s = 'FLINTC'goto @not_in_zone:[email protected] = #CSHER2gosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #CSHER2 virtual_protect 0 //Flint sheriffwait 00249: release_model [email protected]@s = 'WHET'goto @not_in_zone :[email protected] = #DSHERgosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #DSHER virtual_protect 0 //DESERT sheriffwait 00249: release_model [email protected]@s = 'BONE'goto @not_in_zone:[email protected] = #DSHERgosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #DSHER virtual_protect 0 //DESERT sheriffwait 00249: release_model [email protected]@s = 'ROBAD'goto @not_in_zone:[email protected] = #DSHERgosub @loadmodels0A8C: write_memory 0x8A5AA0 size 1 value #DSHER virtual_protect 0 //DESERT sheriffwait 00249: release_model [email protected]@s = 'ROBAD1'goto @not_in_zone :not_in_zonewait 0if8583: not player $PLAYER_CHAR in_zone [email protected] @not_in_zonegoto @newfaces :loadmodelsifModel.Available([email protected])jf @loadmodels2return :loadmodels2Model.Load([email protected])038B: load_requested_models :loadmodels3wait 0ifModel.Available([email protected])jf @loadmodels3return Also, is it possible to set their own SWAT/FBI/Army on their respective city/rural zone? I am a bit bored of same skins on different cities, but I hope this can possible. EDIT: I've taken the script here Edited December 18, 2015 by Fenton Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now