- Joined
- Sep 15, 2006
- Messages
- 32
- Reaction score
- 1
Hello all, I want to know if such a Trigger can change the X Y Z coordinations from a new Player?
I am not that good with MSSQL so I hope someone can help me with the Trigger.
Plz help me with this
thx Soa
I am not that good with MSSQL so I hope someone can help me with the Trigger.
Code:
-- ================================================
-- Template generated from Template Explorer using:
-- Create Trigger (New Menu).SQL
--
-- Use the Specify Values for Template Parameters
-- command (Ctrl-Shift-M) to fill in the parameter
-- values below.
--
-- See additional Create Trigger templates for more
-- examples of different Trigger statements.
--
-- This block of comments will not be included in
-- the definition of the function.
-- ================================================
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Soa>
-- Create date: <20.11.2008>
-- Description: <KalOnline Trigger v1>
-- =============================================
CREATE TRIGGER Startpoint
ON Player
AFTER INSERT
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
UPDATE X, Y, Z
SET X = 225800, Y = 310515, Z = 45028
-- Insert statements for trigger here
END
Plz help me with this
thx Soa
Last edited: