Login to ZARP





  • Page:
  • 1
  • 2

TOPIC: [SSRP] F1 NLR district information

[SSRP] F1 NLR district information 9 years 7 months ago #253335

Soxey6 wrote:
What if he dies when he changes districts but the check was hadn't run...
If he died then, he'd be shown in the wrong districts.
Good idea but kinda impracticable
Function test(victim)
       test = victim:GetPos()
     If test <= Vec(255,255,947) 
             Return bobs house lol
     End
End
hook.Add("PlayerDeath", "whatevernamehere", test)
Inb4 EMP says it's all wrong
  • DEADMONSTOR
  • DEADMONSTOR's Avatar
  • Offline
  • Former Owner
  • ZARP VIP
  • Posts: 9279
  • Thanks received: 3800
  • Karma: 80

...
Last Edit: 9 years 7 months ago by DEADMONSTOR.
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253336

@exrobite
For the first part, if he changes districts and dies before the function is called, its give the wrong info.
It needs to be run more then every couple of seconds OR on each death

DEADMONSTOR wrote:
Soxey6 wrote:
What if he dies when he changes districts but the check was hadn't run...
If he died then, he'd be shown in the wrong districts.
Good idea but kinda impracticable
Function test(victim)
       test = victim:GetPos()
     If test <= Vec(255,255,947) 
             Return bobs house lol
End
End
hook.Add("PlayerDeath", "whatevernamehere", test)

Was talking to exrobite but anyway, yeah its entirely possible.
Not hard then for death.
  • kristofferson
  • kristofferson's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • 420 Blaz It Son
  • Posts: 2664
  • Thanks received: 627
  • Karma: -39
Last Edit: 9 years 7 months ago by kristofferson.
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253337

Exrobite wrote:
Well he can't change his district when he's dead.

Could it be coded like weapon logs? I'm sure they don't constantly relay what gun everyone is holding to the server.

I'm guessing the weapon logs are coding like this too using this hook
wiki.garrysmod.com/page/GM/PlayerDeath
This tells us the entity that is used if you see what's returned
  • DEADMONSTOR
  • DEADMONSTOR's Avatar
  • Offline
  • Former Owner
  • ZARP VIP
  • Posts: 9279
  • Thanks received: 3800
  • Karma: 80

...
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253340

Ok too many coding words

  • exrobite
  • exrobite's Avatar
  • Offline
  • Loyal Boarder
  • ZARP VIP
  • dont have a cow man
  • Posts: 8911
  • Thanks received: 2493
  • Karma: -31
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253791

What about just including their position in the logs when they die? Shouldn't be hard to do and could help a lot.
  • Legendary Soldier
  • Legendary Soldier's Avatar
  • Offline
  • Former Community Manager
  • ZARP VIP
  • Still alive bois
  • Posts: 2607
  • Thanks received: 1434
  • Karma: 61

Former Community Manager
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253792

Tyler Durden wrote:
What about just including their position in the logs when they die? Shouldn't be hard to do and could help a lot.
That's the plan, but perhaps for all logs. Just to aid the process.
  • kristofferson
  • kristofferson's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • 420 Blaz It Son
  • Posts: 2664
  • Thanks received: 627
  • Karma: -39
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253821

While we're on the subject of logs, can we fix the fact that arrest logs are given by steam name and kill logs are given by RPname? It's quite annoying at times when trying to work out NLR and such.
  • exrobite
  • exrobite's Avatar
  • Offline
  • Loyal Boarder
  • ZARP VIP
  • dont have a cow man
  • Posts: 8911
  • Thanks received: 2493
  • Karma: -31
Last Edit: 9 years 7 months ago by exrobite.
Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253849

well yes but , ive done same thread xD few weeks ago same as exro and i think another guy
  • Slayer11
  • Slayer11's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • SSRP : EX-ADMIN
  • Posts: 466
  • Thanks received: 42
  • Karma: 4

SSRP : EX-ADMIN

Login or register to post a reply.

[SSRP] F1 NLR district information 9 years 7 months ago #253851

i have to admit coding this will take time as u need to make names for distrects each time in the code .

oh and like in CSS and CS:GO it tells u places

example : BOT mr.example : Need backup @ Ramp
  • Slayer11
  • Slayer11's Avatar
  • Offline
  • Senior Boarder
  • ZARP VIP
  • SSRP : EX-ADMIN
  • Posts: 466
  • Thanks received: 42
  • Karma: 4

SSRP : EX-ADMIN

Login or register to post a reply.
  • Page:
  • 1
  • 2
Moderators: MadMagic, Joshua, Kanna.

Time to create page: 0.150 seconds

279 PLAYERS ONLINE

Connect to server View Gametracker DarkRP
11/127
Online
Connect to server View Gametracker Deathrun
0/40
Online
Connect to server View Gametracker TTT
0/47
Online
Connect to server View Gametracker Bhop
0/32
Online
Connect to server View Gametracker Surf
7/32
Online
Connect to server View Gametracker Prop Hunt
0/42
Online
Connect to server View Gametracker Sandbox
0/42
Online
Connect to server Discord
261/982
Online
Top