/*
• Function: CreateAutoGate(modelid, Float: X, Float: Y, Float: Z, Float: rX, Float: rY, Float: rZ, Float: NewX, Float: NewY, Float: NewZ, Float: Speed)
• Usage: Creating automatic gate!
• Parameters:
modelid: ID of object
X, Y, Z, rX, rY, rZ: position and rotation of object
NewX, NewY, NewZ: New poistion of object
Speed: Speed of object when he moves
• Example: CreateAutoGate(969, 1019.00000000,-1846.69995117,12.30000019,0.00000000,0.00000000,280.00000000, 1019.00000000,-1846.69995117,9.60000038, 3.0);
*/
/*
• Function: DestroyAutoGate(gateid)
• Usage: Destroying automatic gate!
• Parameters:
gateid: ID of specific gate
• Example: DestroyAutoGate(1);
*/
/*
• Function: GetTotalAutoGates()
• Usage: Getting all created gates!
• Parameters:
no parameteres
• Example: printf("Total auto gates: %d", GetTotalAutoGates());
*/
/*
• Function: GetAutoGatePos(gateid, &Float: x, &Float: y, &Float: z)
• Usage: Getting position of gate!
• Parameters:
X, Y, Z: Parameters in which will be stored position
• Example:
new Float: Pos[3];
GetAutoGatePos(2, Pos[0], Pos[1], Pos[2]);
printf("Gate X: %f, Gate Y: %f, Gate Z: %f", Pos[0], Pos[1], Pos[2]);
*/
/*
• Function: GetAutoGateNewPos(gateid, &Float: x, &Float: y, &Float: z)
• Usage: Getting new position of autogate!
• Parameters:
X, Y, Z: Parameters in which will be stored new position
• Example:
new Float: Pos[3];
GetAutoGateNewPos(2, Pos[0], Pos[1], Pos[2]);
printf("Gate New X: %f, Gate New Y: %f, Gate New Z: %f", Pos[0], Pos[1], Pos[2]);
*/
/*
• Function: GetAutoGateRot(gateid, &Float: x, &Float: y, &Float: z)
• Usage: Getting rotation of gate!
• Parameters:
X, Y, Z: Parameters in which will be stored rotation
• Example:
new Float: Pos[3];
GetAutoGateRot(2, Pos[0], Pos[1], Pos[2]);
printf("Gate rot X: %f, Gate rot Y: %f, Gate rot Z: %f", Pos[0], Pos[1], Pos[2]);
*/
/*
• Function: IsPlayerInRangeOfAutoGate(playerid, gateid, Float: Range)
• Usage: Checking is player in range of specific gate!
• Parameters:
playerid: ID of player
gateid: ID of gate
Range: range in which can player be
• Example:
if(IsPlayerInRangeOfAutoGate(playerid, 4, 10.0) SendClientMessage(playerid, -1, "You are in range of auto gate 4");
*/
/*
• Function: IsPlayerInRangeOfAnyAutoGate(playerid, Float: Range)
• Usage: Checking is player in range of any gate!
• Parameters:
playerid: ID of player
Range: range in which can player be
• Example:
if(IsPlayerInRangeOfAnyAutoGate(playerid, 10.0) SendClientMessage(playerid, -1, "You are in range of some auto gate");
*/
/*
• Function: GetAutoGateModelID(gateid)
• Usage: Getting the model of gate!
• Parameters:
gateid: ID of gate
• Example:
printf("Model ID of gate 2 is: %d", GetAutoGateModelID(2));
*/
/*
• Function: GetAutoGateSpeed(gateid, &Float: Speed)
• Usage: Getting the speed of gate!
• Parameters:
gateid: ID of gate
Speed: Parametere in which will be stored speed
• Example:
new Float: Speed;
GetAutoGateSpeed(12, Speed);
printf("Speed of gate 12 is: %f", Speed);
*/
/*
• Function: IsValidAutoGate(gateid)
• Usage: Checking is specific gate valid gate!
• Parameters:
gateid: ID of gate
• Example:
if(IsValidAutoGate(2)) printf("Gate 2 is valid!");
*/
D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(26) : error 001: expected token: ";", but found "-identifier-" D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(268) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(270) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(272) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(274) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(275) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(278) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(279) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\pawno\include\S32_AutoGates.inc(281) : error 010: invalid function or declaration D:\Program Files\[0.3d]my own drifting gamemode\gamemodes\TorettoRacing1.pwn(15513) : warning 203: symbol is never used: "YSI_gS" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
So, with y_timers is more optimized, if you are to lazy, I don't care about it
I wont, you know how to use search on this forum or ******! |
Didn't expected a rude reply. Also, since when is y_timers optimized? Seriously, having to load the whole YSI system just for 1 timer?
I'm not even going to use this system, but ( guy in first page reporting errors ), it should be easier for the guys that download it to use the system at ease. (Also, foreach was implemented in ysi, why have it as a separate inc?) |