Sniper Rifle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Sniper Rifle (
/showthread.php?tid=95837)
Sniper Rifle -
Gappy - 05.09.2009
Is there anyway to get it to work? When I tested it just before it was desync, no bullets came out when I shot it.
In my script there is nothing that would cause this.
Re: Sniper Rifle -
Karlip - 05.09.2009
Working fine.
Re: Sniper Rifle -
Matite - 05.09.2009
I just checked the sniper rifle in my gamemode and it seems to work fine (other players can kill me with it).
Check your code.
Re: Sniper Rifle -
Gappy - 05.09.2009
I have absolutely no idea what could be causing this.
Re: Sniper Rifle -
XtremeChio - 05.09.2009
Quote:
Originally Posted by Gappy
I have absolutely no idea what could be causing this.
|
I was once shooting with an Mp5 from the car [drive-by when you press CAPSLOCK]
When my ammo was empty, I could still shoot. Tho, no sound or no effect. Strange, I don't know what could do it.
Re: Sniper Rifle -
Gappy - 05.09.2009
The only thing that could possibly cause this in my script is UsePlayerPedAnims(); but i've tried with it and without it and it's still desync.
Maybe it could be something to do with unlimited ammo? Because all weapons in my script have unlimited ammo.
Re: Sniper Rifle -
Gappy - 05.09.2009
I figured out the problem, The maps which I use for my server are out over the ocean, when I shot the sniper back in SA it worked 100% fine, but when I shot the sniper out in the ocean on my map, it didn't work. So in this case, it must be a GTA bug.