SA-MP Forums Archive
A weird bug not sure whether client or server sided - 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)
+--- Thread: A weird bug not sure whether client or server sided (/showthread.php?tid=603968)



(SOLVED) A weird bug not sure whether client or server sided - Geazy - 29.03.2016

Hey there, I've been encountering this annoying bug on almost every server I go. When ever I stand in front of LSPD entrance, there is a floating object with "[Police Station] above it and then it says me the following text which is spamming my screen,, just look below.

Picture;






I'd really appreciate if someone could help me out, I've never faced anything like that before.


Re: A weird bug not sure whether client or server sided - Mencent - 29.03.2016

Hi!

That's a pickup with a 3D text label which you can delete in your script. You have to search in your script. Maybe you can safe the coordinates (be in the point and type /save 123). Now you can look into your documents folder (/Grand Theft Auto San Andreas/samp/savepositions) which coordinates the point has.
When you did this you can search the coordinates in your script and delete the point with the text label.


Re: A weird bug not sure whether client or server sided - Geazy - 29.03.2016

Hey thanks for responding but I couldn't find it in the script.

It's what I got; AddPlayerClass(106,1553.7643,-1675.1794,16.1953,265.0335,0,0,0,0,0,0); // 123

Maybe could you tell me which of these numbers to chose , I'm a beginner.


Re: A weird bug not sure whether client or server sided - Mencent - 29.03.2016

Of course.

PHP код:
AddPlayerClass(106,1553.7643,-1675.1794,16.1953,265.0335,0,0,0,0,0,0); // 123
//106                 => skin id
//1553.7643         => x coordinate
//-1675.1794         => y coordinate
//16.1953             => z coordinate
//265.0335             => rotation of the player
//1. 0                 => 1. weapon
//2. 0              => 1. ammo
//3. 0              => 2. weapon
//4. 0              => 2. ammo
//5. 0              => 3. weapon
//6. 0              => 3. ammo 
So, you need the x,y and z coordinate.
PHP код:
1553.7643,-1675.1794,16.1953 
Now you can search in your script (STRG + F) wheather you find this row. If so you can delete all these rows which have to do with these coordinates.


Re: A weird bug not sure whether client or server sided - Geazy - 29.03.2016

Not working, I used another totally different script but it's still there :c.


Re: A weird bug not sure whether client or server sided - Mencent - 29.03.2016

Do you search the coordinates in your script? Do you found these rows?

=> EDIT:
Also you can search this: [Police Station]


Re: A weird bug not sure whether client or server sided - Abagail - 29.03.2016

This comes from the gl_property filterscript, remove it from the server.cfg. These types of scripts aren't typically needed anyway if you're running a proper gamemode.


Re: A weird bug not sure whether client or server sided - Geazy - 29.03.2016

@Mencent thanks for trying to help, appreciated and @Abagail that solved the reason, thanks!