Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Murdock

#46
Quote from: EK.CrystalBlue on Sep 20, 2016, 11:26 AM
Quote from: Murdock on Sep 20, 2016, 07:02 AMEver heared of naming conventions?
Yeah, I was wondering which one to use
I hate camel case so that is out
I decided to use the underscores one (mysql_connect etc.) but I didnt feel like using that
I decided to use hungarian notation (nPlayerId) but decided it will prevent me from using the advantage of dynamic types
I finally decided to just use lowercase names

Hungarian notation is discouraged pretty much everywhere now. Why mix your own conventions with squirrel's anyway, makes it look messy.
#47
Ever heared of naming conventions?
#48
Spawnprop? What?
#49
Update: lately even killing the gta-vc.exe does not work. When you use /q you're pretty much doomed and are forced to restart your pc

#50
I believe there's an internal function in VC for this that returns whether the player is in water, but it would need the devs to sync that flag and add it as attribute to the squirrel plugin (player.InWater, vehicle.InWater, object.InWater)

If any devs are alive willing to look into this, here are the OPcodes for the functions:
04AD IS_CHAR_IN_WATER
0521 IS_CHAR_DROWNING_IN_WATER
02BF IS_CAR_IN_WATER
04E7 IS_OBJECT_IN_WATER
#51
Script and Content Requests / Re: Minigames
Sep 08, 2016, 07:59 AM
Then you shouldn't be needing one yet
#52
The enemies aren't even shooting back, what's the point
#53
Off-Topic General / Re: Ip Ban
Aug 24, 2016, 04:40 PM
What did "he" expect to happen?
#54
Community Plugins / Re: Vice Racing
Aug 23, 2016, 03:24 PM
No zombie peds. Disappointed
#55
Traffic lights are not synced. I suggest making a custom object with 2dfx to create a custom traffic light
#56
When connecting to a low-latency server, it always takes 2 or 3 reconnection attempts to finally join the server.
Because this bug also happens when reconnecting, I now have to go through the struggle of launching the game, killing the gta-vc.exe process manually about 3 times in a row in order to finally connect to localhost.
#57
Quote from: Kewun on Aug 18, 2016, 01:02 PMif i tested, GetClosestPlayer returns myself ;c :( even if there are plrs on serv. in your script doomkiller

That sure must be hard to fix yourself..
#58
Issue #1 is also already listed in the stickied list
#59
Seems to happen in every popular server, I had to make an own shortcut that kills the gta-vc process in order to quit the game properly.
It doesn't happen in a vanilla server, so chances are it could indeed be clientscripts causing it as @NewK said.
#60
General Discussion / Re: 3D text draw?
Aug 08, 2016, 11:35 AM
There's nothing wrong, it's just bugged. I already reported 3D elements not working a while ago