[HELP] Invisible Coding!!!
#1

Ok, so i'm making a huge roleplay server. As the code is getting longer and longer, I keep running into stupid errors and they aren't syntax errors, because i fix all syntax with eaz. These errors are ordering errors, if i have certain things coded before "other code", the "other code" will mysteriously stop working, in-game only hence "Invisible Code". Finally I got fed up after the code compiled and my personal cars showed up invisible... I even set a checkpoint at the cars spawning point and it showed a checkpoint over nothing!!

Someone has already suggested the car was in the wrong interior/world, but it wasn't the case.

So i figured it was the compiler so i dled SAM[P]CE to see and before it compiled the syntax errors it stated this:

Quote:

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at SAMPCE.f_main.compileStripButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(Event Args e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Not sure if this is the actual error, but otherwise i have nothing to go off of, and no explaination for CreateVehicle() not creating a visable car.
IF ANYONE KNOWS HOW TO HELP ME??
Reply
#2

How does the checkpoint get coordinates to the vehicle?
You use GetVehiclePos, or you read coordinates from a variable/file?
Reply
#3

Quote:
Originally Posted by Macluawn
Посмотреть сообщение
How does the checkpoint get coordinates to the vehicle?
You use GetVehiclePos, or you read coordinates from a variable/file?
I didn't set it up to save yet, so i just literally did a CreateVehicle() set some working array variables, and set a checkpoint at the same location as i put the CreateVehicle() with SetPlayerCheckpoint(), in a command, typed it and whaa laaa
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)