Hi everyone,
Today i started with implementing a new Insimpacket for LFSLapper.
The Packet i try to implement is the JRR (Join Request Reply) insimpacket.
With this packet you can allow or refuse a join request from a player ( Player is allowed or not allowed tojoin the race). Also with this packet you can Spawn the players car to a differend location or you can reset theire car without repairing the damage.
The following Command/Function that you might use after releasing the first testversion of LFSLapper, should look like this.
After alot of struggling with getting data from LFS , i managed to get move my car to differend location.
I hope that the rest of the test goes well without to many errors.
UPDATE: Released testversion: 7.0.4.2 (see post 10 for changelog)
Have a nice day
Bass-Driver([DanTaco])
Today i started with implementing a new Insimpacket for LFSLapper.
The Packet i try to implement is the JRR (Join Request Reply) insimpacket.
With this packet you can allow or refuse a join request from a player ( Player is allowed or not allowed tojoin the race). Also with this packet you can Spawn the players car to a differend location or you can reset theire car without repairing the damage.
The following Command/Function that you might use after releasing the first testversion of LFSLapper, should look like this.
<?php
CASE "!jrr":
$X_Axis = 0; #X axis SpawnPoint
$Y_Axis = 0; #Y axis SpawnPoint
$Z_Axis = 0; #Z axis SpawnPoint
$Flags = 128; #Move car (128) else (0)
$Heading = 0; #Heading of the players car at Spawnpoint
$UCID = 0; #Connection's unique id (0 = host)
$PLID = getcurrentplayervar("PLID"); #Player's unique id
$JRRAction = 5; #Type of action.
joinrequest($X_Axis , $Y_Axis , $Z_Axis , $Flags ,$Heading , $UCID , $PLID ,$JRRAction); #Send Data to LFS
BREAK;
?>
I hope that the rest of the test goes well without to many errors.
UPDATE: Released testversion: 7.0.4.2 (see post 10 for changelog)
Have a nice day
Bass-Driver([DanTaco])