19.02.2013, 22:34
Код:
C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(75) : error 010: invalid function or declaration C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(78) : error 010: invalid function or declaration C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(81) : error 010: invalid function or declaration C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(481) : warning 203: symbol is never used: "gArmySpawns" C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(481) : warning 203: symbol is never used: "gMedicalSpawns" C:\Users\Scoot\Desktop\XMG RP\GameModes\grandlarc.pwn(481) : warning 203: symbol is never used: "gPoliceSpawns" Pawn compiler 3.0.3367 Copyright © 1997-2005, ITB CompuPhase 3 Errors.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/pdopen", cmdtext, true) == 0) MoveObject(Gate, 1541.80005, -1636.90002, 12.4, 0, 0, 270, 1); MoveObject(Gate2, 1542, -1618.69995, 12.4, 0, 0, 270, 1); return 1; } if (strcmp("/pdclose, cmdtext, true) == 0) MoveObject(Gate, 1541.80005, -1631.69995, 12.4, 0, 0, 270, 1); MoveObject(Gate2, 1542, -1623.80005, 12.4, 0, 0, 268, 1); return 1; } return 0; }