SLRrazor Posted August 17, 2008 Share Posted August 17, 2008 so ummm... i basically started modding my game, i tried to make weapon pick ups but it wont work, it crashes my game, im using cleo for it, and i dunno whats wrong lol, can you guys post a basic tutorial here? Link to comment Share on other sites More sharing options...
mailboxbill Posted August 17, 2008 Share Posted August 17, 2008 Did you save the text document, them compile and copy it? Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 Did you save the text document, them compile and copy it? yep, my code was this: {$CLEO .cs}//-------------MAIN---------------thread 'FAMAS' 032B: $FAMAS = create_weapon_pickup #M4 group 15 ammo 30 at 1042.487 2911.748 47.82312 i dunno whats wrong lol... Link to comment Share on other sites More sharing options...
mailboxbill Posted August 17, 2008 Share Posted August 17, 2008 yea..i tried to add it to a different group mine crashed too, look for a different code on like google. Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 umm k, i looked at another thread, i made it spawn...then, when i added a few more lines: Not enough actual parameters. Expected 6 params. this was my code: {$CLEO}032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1042.487 2911.748 47.823120213: [email protected] = create_pickup #INFRARED type 15 at 1042.652, 2909.302, 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1064.421, 2919.293, 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1134.533, 2915.94, 42.37387032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2008.765, 2903.73, 47.82311032B: [email protected] = create_weapon_pickup #PISTOL_SILENCED 15 ammo 12 at 2809.534, 2931.871, 370213: [email protected] = create_pickup #PARACHUTE type 15 at 2805.381, 2921.186, 36.5046032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2747.002, 2751.957, 14.072240A95: enable_thread_saving0A93: end_custom_thread whats params? (parameteres) Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted August 17, 2008 Share Posted August 17, 2008 umm k, i looked at another thread, i made it spawn...then, when i added a few more lines: Not enough actual parameters. Expected 6 params. this was my code: {$CLEO}032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1042.487 2911.748 47.823120213: [email protected] = create_pickup #INFRARED type 15 at 1042.652, 2909.302, 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1064.421, 2919.293, 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1134.533, 2915.94, 42.37387032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2008.765, 2903.73, 47.82311032B: [email protected] = create_weapon_pickup #PISTOL_SILENCED 15 ammo 12 at 2809.534, 2931.871, 370213: [email protected] = create_pickup #PARACHUTE type 15 at 2805.381, 2921.186, 36.5046032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2747.002, 2751.957, 14.072240A95: enable_thread_saving0A93: end_custom_thread whats params? (parameteres) {$CLEO}032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1042.487 2911.748 47.823120213: [email protected] = create_pickup #INFRARED type 15 at 1042.652 2909.302 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1064.421 2919.293 47.82312032B: [email protected] = create_weapon_pickup #M4 15 ammo 30 at 1134.533 2915.94 42.37387032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2008.765 2903.73 47.82311032B: [email protected] = create_weapon_pickup #PISTOL_SILENCED 15 ammo 12 at 2809.534 2931.871 370213: [email protected] = create_pickup #PARACHUTE type 15 at 2805.381 2921.186 36.5046032B: [email protected] = create_weapon_pickup #SNIPERRIFLE 15 ammo 5 at 2747.002 2751.957 14.072240A95: enable_thread_saving0A93: end_custom_thread Helps? Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 yea, thanks, but, another problem is when i go to the spawn point of the PARACHUTE, INFRARED and SNIPERRIFLE, other things come up, like key cards, slot machines, and the "i" thingy... Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted August 17, 2008 Share Posted August 17, 2008 Well, the parachute is a weapon. 032B: $ID = create_weapon_pickup #GUN_PARA 15 ammo 1 at X Y Z Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 thanks again guys, only the SNIPERRIFLE and the INFRARED is not working... Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted August 17, 2008 Share Posted August 17, 2008 032B: $id = create_weapon_pickup #SNIPER 3 ammo 15 at X Y Z Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 how did you guys find SNIPER 3? Link to comment Share on other sites More sharing options...
ZAZ Posted August 17, 2008 Share Posted August 17, 2008 how did you guys find SNIPER 3? In your posted script are wrong weapon-filenames like #INFRARED It must be #irgoggles Look in sannybuilder >> HELP >> SCM Documentation >> GTA SA >> Weapon numbers The entries on the right side with the hash # are right CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
SLRrazor Posted August 17, 2008 Author Share Posted August 17, 2008 oh, good, its working now, thanks all! 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