18.08.2009, 12:36
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(330) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(330) : error 017: undefined symbol "CloseGate"
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(331) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(331) : error 017: undefined symbol "CloseGate"
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(337) : warning 225: unreachable code
EDIT1:
//------------------------------------------------------------------------------
if(strcmp(cmdtext,"/secret1", true) == 0) //OPENGATE
{
if(PlayerToPoint(15.0, playerid, -2468.3889, 1547.0945, 23.8359))
{
MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 2.0);
SendClientMessage(playerid, 0x33FF33AA, "SUCCESS: Gate has been opened, automatically closing in 10 seconds");
SetTimerEx("CloseGate", 10000, false, "i", playerid);
}
return 1;
}
forward CloseGate(playerid);
public CloseGate(playerid)
{
MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209, 2.0);
return 1;
}
?? please help
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(330) : error 017: undefined symbol "CloseGate"
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(331) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(331) : error 017: undefined symbol "CloseGate"
C:\Users\Administrator\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoam212121.pwn(337) : warning 225: unreachable code
EDIT1:
//------------------------------------------------------------------------------
if(strcmp(cmdtext,"/secret1", true) == 0) //OPENGATE
{
if(PlayerToPoint(15.0, playerid, -2468.3889, 1547.0945, 23.8359))
{
MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 2.0);
SendClientMessage(playerid, 0x33FF33AA, "SUCCESS: Gate has been opened, automatically closing in 10 seconds");
SetTimerEx("CloseGate", 10000, false, "i", playerid);
}
return 1;
}
forward CloseGate(playerid);
public CloseGate(playerid)
{
MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209, 2.0);
return 1;
}
?? please help