The online racing simulator
Table with functions
Hi everyone, I need a help. I want make a table where all the online player is listed like in connection list, and each player with 3 button. Spectate, Pitlane, Kick.

I made a quick picture about my idea. I hope that somebody have a little free time to make the code for this idea.

It would be easier for admins !

All the best

SarXes
Attached images
Névtelen.png
Is it supposed to be based on an existing insim (cruise insim, lapper, etc), or a standalone application?
To save you alot of buttons (which could save you some bandwidth)
Maybe you could think about this idea what i made( see pic)


Quote from Bose321 :Is it supposed to be based on an existing insim (cruise insim, lapper, etc), or a standalone application?

its posted in the LFSlapper thread , so i think it must be made with lapper
Attached images
blahblah.jpg
Oh crap, I see now.

Anyway, I don't think a few buttons more or less will really cause such a spike in bandwidth or anything, it will just look cluttered with a lot of people.
So It's hard to make this table ?
i can create one for you (The pic in the first post).
but you have to wait till tomorrow. because i have no time today.

Is there anything i must know like:

-location of the panel
-Text
-etc
Okay, thank you very much ... Im not hurry, you have time !!!
hey

Sry but i have to disappoint you.
I have no time this and next week to build this panel for you.
-
(sarxes) DELETED by sarxes
Can somebody help me ?
Have a look at Krayy's CIF/info_handicaps.lpr file, as a lot of what you want can be done using a large part of his code, with a few further sub-routines for the penalties.

For the penalty sub-routines, you could look at my racecontrol.lpr code. Especially look for;
cmdLFS( "/spec...
cmdLFS( "/kick...
cmdLFS( "/pit...

All you have to do (!) is marry the relevant sections of the 2 files up.
Thank you sinanju I 'll give a chance for it
Quote from Kyle-Caz :you can download race control manager (can be downloaded here) and put it in in your bin\default\includes then go to addonsused.lpr and open it with notepad and put at the top of saftycar.lpr and put: include( "./racecontrol.lpr"); and done!

can be downloaded here: http://www.mediafire.com/view/?zwv6rd7d1afk06h
picture here: http://www.mediafire.com/?hswrxa01w2x7hv7
look at the picture BEFORE you download

Thank you , I know this add -on and I have it, but I want a quicker way for these function... Thanx anyway ! I hope Bass-Driver will help me !
I want to test some features of my lapper tomorrow.
Meanwhile i can work on yours.

IDanTacos
Here is a preview
its in teststage

Edit2: fixed a small bug and tested it with more users ( see pic)
Attached images
Test2.jpg
Test3.jpg
Awesome, it's possible to change the ban to pit (teleport driver back to pitlane) ? I think that would be all what I need ? If its okay, pls send me the file or the whole code.

Cheers !
Quote from sarxes :Awesome, it's possible to change the ban to pit (teleport driver back to pitlane) ? I think that would be all what I need ? If its okay, pls send me the file or the whole code.

Cheers !

oh ups , your pic in the first post said pit instead of ban.
its a easy fix.

glad that you liked it.
hi sarxes,

Here you go.
Let me know if something isnt working or need to be updated.

edit: fixed typo in script
edit2: new file is added few posts below ( Fix: symbol gives a ???)
IDanTec
It gives this error:


<?php 
2
/1/2013 5:22:14 PM -> Syntax error in cfg file ".\default\.\includes\.\adminpanel.lpr" at line #17
    
Function not defined...AdminPanel
    
Function 'onmso.\default\.\includes\.\adminpanel.lpr-2' script aborted
?>


Quote from sarxes :It gives this error:


<?php 
2
/1/2013 5:22:14 PM -> Syntax error in cfg file ".\default\.\includes\.\adminpanel.lpr" at line #17
    
Function not defined...AdminPanel
    
Function 'onmso.\default\.\includes\.\adminpanel.lpr-2' script aborted
?>



made a small typo

change
Sub UserListTest()
to
Sub AdminPanel()

i have reuploaded the script in my post
I think you see that there is no close button. Sorry for reply but I really dont understand for "coding"
Attached images
closebuton.png
File removed!!!

FGED GREDG RDFGDR GSFDG