sci4me Posted June 22, 2011 Share Posted June 22, 2011 CODE: {$CLEO .cs}thread "Weapons"0A95: enable_thread_saving//load models0247: load_model #BALLAS1//create weapons032B: [email protected] = create_weapon_pickup #M4 group 15 ammo 60000 at 314.9132 -1755.6615 4.514:NEARwait 0if 00EC: actor $PLAYER_ACTOR 0 near_point 313.0962 -1752.6444 4.5298 radius 20.0 20.0if @NEARjump @load:loadwait 0if 0248: model #BALLAS1 availableif @load//create actors009A: [email protected] = create_actor_pedtype 8 model #BALLAS1 at 313.0962 -1752.6444 4.5298:DEADwait 0if 0118: actor [email protected] dead if @DEADwait 2500009B: destroy_actor [email protected]: end_custon_thread ERROR: Unknown directive @NEAR. What is wrong??? Link to comment Share on other sites More sharing options...
fireguy109 Posted June 22, 2011 Share Posted June 22, 2011 Try giving the threads different names, like "MOD_LOAD" and "MOD_NEAR". And they say not to create pickups with CLEO, although I don't know if it will matter with your script. Link to comment Share on other sites More sharing options...
BnB Posted June 22, 2011 Share Posted June 22, 2011 if @NEAR To: jf @NEAR Link to comment Share on other sites More sharing options...
sci4me Posted June 22, 2011 Author Share Posted June 22, 2011 Thanks. I'm just kinda gettin into coding. I will put my pickups in my scm. THX! 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