Bad.boy! Posted January 14, 2012 Share Posted January 14, 2012 (edited) I've created a sniffer for my mission, but the sphere doesn't show up, this is the only sphere in game (except for the main.scm ones) so it's not that I have to many spheres. Does anyone know a solution to this problem? {$CLEO .cs}Thread 'SNIFFER_SOLDIER':[email protected] = 129.3375 [email protected] = 1954.3927 [email protected] = 2002A8: [email protected] = create_marker $ICON_CASH at [email protected] [email protected] [email protected] wait 0if andPlayer.Defined($PLAYER_CHAR)Player.Controllable($PLAYER_CHAR)$ONMISSION == 0jf @SNIFFER_1wait 0if$MISSION_SOLDIER_PASSED == 0jf @SNIFFER_2jump @SNIFFER_3:SNIFFER_20A93: end_custom_thread:SNIFFER_3wait 0if 00FE: actor $PLAYER_ACTOR sphere 1 in_sphere [email protected] [email protected] [email protected] radius 3.5 3.5 5.5jf @SNIFFER_3wait 0if andPlayer.Defined($PLAYER_CHAR)Player.Controllable($PLAYER_CHAR)$ONMISSION == 0810F: not player $PLAYER_CHAR wanted_level > 0jf @SNIFFER_30A94: start_custom_mission 'SOLDIER'$ONMISSION = 10164: disable_marker [email protected] jump @SNIFFER_1 Edited January 14, 2012 by Bad.boy! Link to comment Share on other sites More sharing options...
Ashwin.Star Posted January 16, 2012 Share Posted January 16, 2012 this script is for SA if i am right, i think you should use an opcode which is for creating spheres, 03BC: [email protected] = create_sphere_at [email protected] [email protected] [email protected] radius 3.5, what do you think ? Link to comment Share on other sites More sharing options...
Bad.boy! Posted January 16, 2012 Author Share Posted January 16, 2012 yes, it's for San Andreas, and I'm still getting no sphere Link to comment Share on other sites More sharing options...
Deji Posted January 16, 2012 Share Posted January 16, 2012 [email protected] = 20 Could be that you're storing using an integer value where a float should be used. Sanny Builder needs that extra .0 to ensure it makes the game put the right value in variable [email protected] Link to comment Share on other sites More sharing options...
Bad.boy! Posted January 16, 2012 Author Share Posted January 16, 2012 Thanks Deji, the sphere showed up this time 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