19.06.2011, 02:36
So, I made this script below, and I get this error:
SCRIPT:
Код:
C:\Users\tyler\Desktop\SERVER\filterscripts\gates.pwn(120) : error 028: invalid subscript (not an array or too many subscripts): "tygate"
pawn Код:
}
if (!strcmp("/tygateo", cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1497.4320068359, -699.79998779297, 94))
SendClientMessage(playerid, 0x999999AA, "Gate Opened.");
{
MoveObject(tygate, 1497.4320068359, -699.79998779297, 89.55, 1);
}
SetTimer(tygate[], 8, 0);
MoveObject(tygate, 1497.4320068359, -699.79998779297, 94, 1);
return 1;
}
return 0;