(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FNuZEgsa.png&hash=1b2b9ce85e9177d2a43c516dc8dd6c6562d6eca7)
Zombie Jack Hello I bring you a funny zombie, which consists of the players being terrified and at the same time he can kill you as you can kill the zombie
(I know I could have done better, but something is fine)Credits:
@kennedyarz Develop
@PunkNoodle Ported zombie
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F04bf67580d7709369f124745e6a18a70%2FNPC.rar&hash=1240c8dcd631641d3f1adb71557a79e3dc8db976) (http://files.thijn.ovh/download/04bf67580d7709369f124745e6a18a70/NPC.rar)
Happy death :\/
Virus detected 1/56
Anyway,Good Work
Quote from: kennedyarz on Jun 13, 2017, 01:14 AM(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FNuZEgsa.png&hash=1b2b9ce85e9177d2a43c516dc8dd6c6562d6eca7)
Zombie Jack
Hello I bring you a funny zombie, which consists of the players being terrified and at the same time he can kill you as you can kill the zombie (I know I could have done better, but something is fine)
Credits:
@kennedyarz Develop
@PunkNoodle Ported zombie
Download
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F46f88d0552b053502a1d3a49373e7d83%2FNPC.rar&hash=4361dcdb9c5f8b93e85167180f5dfdaf3e5a6dbb) (http://files.thijn.ovh/download/46f88d0552b053502a1d3a49373e7d83/NPC.rar)
Happy death :\/
awsome tested it...freaking noise and when u hit on his head after some time he dies with dangerous noise
keepit up kenny looking more from u
This is a very good example of why you should not include executables in your script files (https://forum.vc-mp.org/?topic=898.0).
kennedyarz is infected, anyone go kill him fast before his turning into a zombie
Quote from: vito1 on Jun 13, 2017, 06:23 AMkennedyarz is infected, anyone go kill him fast before his turning into a zombie
hahhahahhaha.
Quote from: EK.IceFlake on Jun 13, 2017, 06:02 AMThis is a very good example of why you should not include executables in your script files (https://forum.vc-mp.org/?topic=898.0).
The virus that frame is the zombie, but it's just that fucking antivirus probe with several and nothing.
Quote from: vito1 on Jun 13, 2017, 06:23 AMkennedyarz is infected, anyone go kill him fast before his turning into a zombie
hahahahahaha. I guess it's the zombie XD 1/50
Use switch case instead of tons of if statements.
if( M == 1 ) { NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 2 ) { NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 3 ) { NPC.MoveTo( Vector( NPC.Pos.x, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 4 ) { NPC.MoveTo( Vector( NPC.Pos.x, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 5 ) { NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 6 ) { NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 7 ) { NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
if( M == 8 ) { NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); }
Like this :
switch( M )
{
case 1: NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 2: NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 3: NPC.MoveTo( Vector( NPC.Pos.x, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 4: NPC.MoveTo( Vector( NPC.Pos.x, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 5: NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 6: NPC.MoveTo( Vector( NPC.Pos.x + 2, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 7: NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y + 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
case 8: NPC.MoveTo( Vector( NPC.Pos.x - 2, NPC.Pos.y - 2, NPC.Pos.z ), 3000 ); NPC.RotateToEuler( Vector( NPC.RotationEuler.x, NPC.RotationEuler.y, NPC.RotationEuler.z + 1 ), 1000 ); break;
}
Quote from: Anik on Jun 13, 2017, 12:44 PMUse switch case instead of tons of if statements.
Thx for suggestion Updated
Nice work. keep it up.
https://www.file-upload.com/3uhuil4bbbo0
See this server not Work https://www.file-upload.com/3uhuil4bbbo0
PUNK NOODLE GIVE ME FULL SETUP OF ZOMBIE JACK SERVER.CFG SERVER.CONF SCRIPTS SERVER.EXE STORE MAIN NUT
Quote from: [TkD]MarineForce123 on Jun 16, 2017, 08:23 AMPUNK NOODLE GIVE ME FULL SETUP OF ZOMBIE JACK SERVER.CFG SERVER.CONF SCRIPTS SERVER.EXE STORE MAIN NUT
Clicky (https://forum.vc-mp.org/?action=pm;sa=send).
https://forum.vc-mp.org/?action=pm;sa=send
ERROR ICEFLAKE Fix the CLicky
This site can't provide a secure connection
forum.vc-mp.org uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Quote from: [TkD]MarineForce123 on Jun 17, 2017, 04:25 AMhttps://forum.vc-mp.org/?action=pm;sa=send
ERROR ICEFLAKE Fix the CLicky
This site can't provide a secure connection
forum.vc-mp.org uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Stop using XP and outdated browsers :P
Quote from: . on Jun 17, 2017, 04:36 AMQuote from: [TkD]MarineForce123 on Jun 17, 2017, 04:25 AMhttps://forum.vc-mp.org/?action=pm;sa=send
ERROR ICEFLAKE Fix the CLicky
This site can't provide a secure connection
forum.vc-mp.org uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Stop using XP and outdated browsers :P
and using file-upload.com as well.
Good Work
@kennedyarz :D I Tested it :D Really good work :D