[Solved half] moving gate
#5

Код:
Line 394: forward CheckGate();
Line 395: public CheckGate()
Line 396: {
Line 397:  for(new i = 0; i < GetMaxPlayers(); i++) {
Line 398:    if(!IsPlayerConnected(i)) continue;
Line 399:    if(IsPlayerInRangeOfPoint(i, 10.0, -302.628,1507.450,76.070) && OpenGate[i] == 0);
Line 400:      MoveObject(gate,-293.828,1507.450,76.070,10)
Line 401:      OpenGate[i] = 1;
Line 402:    }
Line 403:    else if(!IsPlayerInRangeOfPoint(i, 10.0, -302.628,1507.450,76.070) && OpenGate[i] == 1) {
Line 404:      MoveObject(gate,-302.628,1507.450,76.070,10)
Line 405:      OpenGate[i] = 0;
Line 406:    }
Line 407:}
Error's:
Код:
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(348) : warning 217: loose indentation
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(350) : warning 217: loose indentation
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(399) : error 017: undefined symbol "OpenGate"
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(399) : warning 215: expression has no effect
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(399) : error 001: expected token: ";", but found "]"
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(399) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\Night Life Roleplay\gamemodes\SFFB.pwn(399) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
[Solved half] moving gate - by dclaw - 16.01.2010, 08:25
Re: [help] moving gate - by VonLeeuwen - 16.01.2010, 08:31
Re: [help] moving gate - by KnooL - 16.01.2010, 08:33
Re: [help] moving gate - by dclaw - 16.01.2010, 08:43
Re: [help] moving gate - by dclaw - 16.01.2010, 08:45
Re: [help] moving gate - by KnooL - 16.01.2010, 08:54
Re: [help] moving gate - by dclaw - 16.01.2010, 08:56
Re: [help] moving gate - by KnooL - 16.01.2010, 08:58
Re: [help] moving gate - by dclaw - 16.01.2010, 08:59
Re: [help] moving gate - by KnooL - 16.01.2010, 09:00

Forum Jump:


Users browsing this thread: 6 Guest(s)