All public logs
Jump to navigation
Jump to search
Combined display of all available logs of NPC for VCMP 0.4 Servers. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)- 09:56, 24 March 2022 Habi talk contribs created page GetPlayerState (Created page with "{{Welcome|desc=Gets the state of the specified player.| params=<syntaxhighlight lang="lua">playerid</syntaxhighlight>|")
- 09:52, 24 March 2022 Habi talk contribs created page Player States (Created page with "PLAYER_STATE_NONE 0 PLAYER_STATE_ONFOOT 1 PLAYER_STATE_AIM 2 PLAYER_STATE_DRIVER 3 PLAYER_STATE_PASSENGER 4 PLAYER_STATE_ENTER_VEHICLE_DRIVER 5 PLAYER_STATE_ENTER_VEHICLE_PASS...")
- 09:50, 24 March 2022 Habi talk contribs created page PlayerStates (Created page with "PLAYER_STATE_NONE 0 PLAYER_STATE_ONFOOT 1 PLAYER_STATE_AIM 2 PLAYER_STATE_DRIVER 3 PLAYER_STATE_PASSENGER 4 PLAYER_STATE_ENTER_VEHICLE_DRIVER 5 PLAYER_STATE_ENTER_VEHICL...")
- 14:21, 22 March 2022 Habi talk contribs created page GetPlayerPos (Created page with "{{Welcome|desc=Gets the position of a player as Vector.|params=<syntaxhighlight lang="lua">playerid</syntaxhighlight> <poem>::playerid : The ID of the player whose position is...")
- 13:36, 20 March 2022 Habi talk contribs created page KillTimer (Created page with "{{Welcome| desc=Kills a previously created timer using SetTimer| params=<syntaxhighlight lang="lua">(timerid)</syntaxhighlight> <poem>::timerid : The id of the timer, retu...")
- 16:23, 19 March 2022 Habi talk contribs created page SetTimer (Created page with "{{Welcome| desc=This will create set a timer, which will be triggered when the given time has passed.| params=<syntaxhighlight lang="lua">(FunctionName, interval, repeat)</syn...")
- 16:17, 19 March 2022 Habi talk contribs created page AdditionalFunctions (Created page with "__NOTOC____NOEDITSECTION__<big> NPC Scripts have the following functions too. {| style=height:1em |scope="col" style="width: 300px; text-align:left; vertical-align: top;"| ==...")
- 15:48, 15 March 2022 137.97.101.184 talk created page SquirrelPlugin (Created page with "{| style=height:1em |scope="col" style="width: 300px; text-align:left; vertical-align: top;"| == Functions == |}")
- 15:44, 15 March 2022 137.97.101.184 talk created page IsPlayerStreamedIn (Created page with "{{Welcome| desc=Checks if a player is streamed in for an NPC. Only nearby players are streamed in.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::pla...")
- 15:32, 15 March 2022 137.97.101.184 talk created page IsVehicleStreamedIn (Created page with "{{Welcome| desc=Checks if a vehicle is streamed in for an NPC. Only nearby vehicles are streamed in.| params=<syntaxhighlight lang="lua">(vehicleid)</syntaxhighlight> <poem>::...")
- 15:27, 15 March 2022 137.97.101.184 talk created page SetMyPos (Created page with "{{Welcome| desc=Sets an NPC's position| params=<syntaxhighlight lang="lua">(position)</syntaxhighlight> <poem>::position: The Vector position for NPC.</poem>| example=<source...")
- 15:18, 15 March 2022 137.97.101.184 talk created page GetMyPos (Created page with "{{Welcome| desc= Gets the position of an NPC| retvals=The position of the NPC as a Vector.| example=<source lang="lua"> local p=GetMyPos(); print("My position co-ordinates...")
- 15:14, 15 March 2022 137.97.101.184 talk created page GetDistanceFromMeToPoint (Created page with "{{Welcome| desc=Gets the distance from NPC to a point.| params=<syntaxhighlight lang="lua">(point)</syntaxhighlight> <poem>::point: The Vector point to which distance form NPC...")
- 14:52, 15 March 2022 137.97.101.184 talk created page SetMyFacingAngle (Created page with "{{Welcome| desc= Sets the facing angle of an NPC| params=<syntaxhighlight lang="lua">(angle)</syntaxhighlight> <poem>::angle : The new angle (in radians) for the NPC.</poem>|...")
- 13:18, 10 March 2022 157.46.155.104 talk created page GetMyFacingAngle (Created page with "{{Welcome| desc= Returns tye current facing angle of the player in radians.| retval=The facing angle of the NPC.| relfuncs=*SetMyFacingAngle")
- 07:48, 10 March 2022 Habi talk contribs created page IsPlayerNPC (Created page with "{{Welcome| desc=Checks if a player is an NPC| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid: The id of the player to be check. </poem>| retv...")
- 07:38, 10 March 2022 Habi talk contribs created page ConnectNPC (Created page with "{{Welcome| desc=Connect an NPC to the server| params=<syntaxhighlight lang="lua">(name, script, host="127.0.0.1")</syntaxhighlight> <poem>::name : The name for the NPC to use....")
- 07:29, 10 March 2022 Habi talk contribs created page StopRecordingPlayerData (Created page with "{{Welcome| desc=Stops the recording of the actions of the player started using StartRecordingPlayerData| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <p...")
- 05:59, 10 March 2022 157.46.155.104 talk created page .rec file (Created page with "== .rec files == == General Structure == == File Header == == Data blocks == == On-foot data == == Vehicle data ==")
- 05:56, 10 March 2022 157.46.155.104 talk created page StartRecordingPlayerData (Created page with "{{Welcome| desc=Starts recording player movements to a file which can be reproduced by an NPC| params=<syntaxhighlight lang="lua">(playerid, recordtype, recordname[])</syntaxh...")
- 17:00, 9 March 2022 157.46.138.66 talk created page SendCommand (Created page with "{{Welcome| desc=This will send a command to the server as though the NPC typed /command.| params=<syntaxhighlight lang="lua">(commandtext)</syntaxhighlight> <poem>::commandtex...")
- 16:56, 9 March 2022 157.46.138.66 talk created page SendChat (Created page with "{{Welcome| desc=This will run a .rec file which has to be saved in the npcscripts/recordings folder. The NPC will follow the actions recorded in the file.| params=<syntaxhighl...")
- 16:52, 9 March 2022 157.46.138.66 talk created page ResumeRecordingPlayback (Created page with "{{Welcome| desc=This will resume the paused playback.| example=<source lang="lua"> function OnPlayerText(player, message) { if(message=="comeon") { ResumeRecordingPlayback(...")
- 16:14, 9 March 2022 157.46.138.66 talk created page PauseRecordingPlayback (Created page with "{{Welcome| desc=This function will pause the current .rec file being ran by the NPC. It later can be resumed using ResumeRecordingPlayback| params=<syntaxhighlight lang="l...")
- 16:10, 9 March 2022 157.46.138.66 talk created page StopRecordingPlayback (Created page with "{{Welcome| desc=This will stop the current .rec file which is being ran by the NPC. The NPC will stay idle for sometime until some command is given.| params=<syntaxhighlight l...")
- 16:07, 9 March 2022 157.46.138.66 talk created page StartRecordingPlayback (Created page with "{{Welcome| desc=This will run a .rec file which has to be saved in the npcscripts/recordings folder. The NPC will follow the actions recorded in the file.| params=<syntaxhighl...")
- 16:06, 9 March 2022 157.46.138.66 talk created page RecordingTypes (Created page with "<big>To be used with StartRecordingPlayerData <source lang="lua"> PLAYER_RECORDING_TYPE_ONFOOT 1 PLAYER_RECORDING_TYPE_DRIVER 2 </source></big>")
- 15:59, 9 March 2022 157.46.138.66 talk created page OnRecordingPlaybackEnd (Created page with "{{Welcome| desc=This function is called a recording file reproduced using StartRecordingPlayback has reached its end.| params=<syntaxhighlight lang="lua">The function has...")
- 15:57, 9 March 2022 157.46.138.66 talk created page OnVehicleStreamOut (Created page with "{{Welcome| desc=This function is called when a vehicle is streamed OUT for an NPC.| params=<syntaxhighlight lang="lua">(vehicleid)</syntaxhighlight> <poem>::vehicleid : The ID...")
- 15:56, 9 March 2022 157.46.138.66 talk created page OnVehicleStreamIn (Created page with "{{Welcome| desc=This function is called when a vehicle is streamed in for an NPC.| params=<syntaxhighlight lang="lua">(vehicleid)</syntaxhighlight> <poem>::vehicleid : The ID...")
- 15:55, 9 March 2022 157.46.138.66 talk created page OnPlayerStreamOut (Created page with "{{Welcome| desc=This function is called when a player is streamed OUT for an NPC.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid : The ID of...")
- 15:54, 9 March 2022 157.46.138.66 talk created page OnPlayerStreamIn (Created page with "{{Welcome| desc=This function is called when a player is streamed in for an NPC.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid : The ID of...")
- 15:51, 9 March 2022 157.46.138.66 talk created page OnPlayerText (Created page with "{{Welcome| desc=This function is called when any player text something to server using console.| params=<syntaxhighlight lang="lua">(playerid, message)</syntaxhighlight> <poem...")
- 15:48, 9 March 2022 157.46.138.66 talk created page OnPlayerDeath (Created page with "{{Welcome| desc=This function is called when a player in the server dies.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid : The ID of the pla...")
- 15:46, 9 March 2022 157.46.138.66 talk created page OnClientMessage (Created page with "{{Welcome| desc=This function is called when the server sends client message to NPC.| params=<syntaxhighlight lang="lua">(r, g, b, message)</syntaxhighlight> <poem>::r : The a...")
- 14:13, 9 March 2022 Habi talk contribs created page Downloads (Created page with "NPC core component Windows: Linux: Plugins to connect NPC Squirrel: Windows: npc04rel32.dll npc04rel64.dll Linux: npc04rel32.so npc04rel64.so")
- 14:04, 9 March 2022 Habi talk contribs created page OnNPCExitVehicle (Created page with "{{Welcome| desc=This function is called when an NPC leaves a vehicle.| params=<syntaxhighlight lang="lua">(vehicleid)</syntaxhighlight> <poem>:: vehicle : The ID of the vehicl...")
- 14:00, 9 March 2022 Habi talk contribs created page OnNPCEnterVehicle (Created page with "{{Welcome| desc=Gets called when an NPC enters a vehicle. Or in other words, the server has put the NPC in a vehicle.| params=<syntaxhighlight lang="lua">(vehicleid, seatid)</...")
- 13:54, 9 March 2022 Habi talk contribs created page OnNPCSpawn (Created page with "{{Welcome| desc=This function is called when the NPC spawns.| params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight>| retvals=This function does not return any specific...")
- 13:49, 9 March 2022 Habi talk contribs created page OnNPCDisconnect (Created page with "{{Welcome| desc=This function is called when an NPC disconnect from the server.| params=<syntaxhighlight lang="lua">(reason)</syntaxhighlight> <poem>::reason : The reason why...")
- 10:11, 9 March 2022 Habi talk contribs created page OnNPCConnect (Created page with "{{Welcome| desc=This function is called when an NPC successfully connect to a server.| params=<syntaxhighlight lang="lua">(myplayerid)</syntaxhighlight> ::myplayerid::The play...")
- 10:07, 9 March 2022 Habi talk contribs deleted page OnNPCModeInit (OnNPCScriptLoad)
- 10:07, 9 March 2022 Habi talk contribs deleted page OnNPCModeExit (OnNPCScriptUnload)
- 09:55, 9 March 2022 Habi talk contribs created page OnNPCScriptUnload (Created page with "{{Welcome| desc=This function is called when a NPC script is unloaded.| params=<syntaxhighlight lang="lua">This callback has no parameters.</syntaxhighlight>| retvals=This cal...")
- 09:43, 9 March 2022 Habi talk contribs created page OnNPCModeExit (Created page with "{{Welcome}}")
- 09:43, 9 March 2022 Habi talk contribs created page Template:Welcome (Created page with "Hello! Welcome to the wiki.")
- 09:14, 9 March 2022 Habi talk contribs created page OnNPCScriptLoad (Created page with "'''Description''': '''Parameters:''' '''Return Values:''' <source lang="lua"> function OnNPCScriptLoad() { print("NPC script loaded\n"); } </source>")
- 09:07, 9 March 2022 Habi talk contribs created page OnNPCModeInit (Created page with "'''Description''': '''Parameters:''' '''Return Values:'''")
- 04:17, 9 March 2022 User account Habi talk contribs was created
- 15:00, 8 March 2022 MediaWiki default talk created page Main Page