11.08.2013, 18:24
pawn Код:
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(13) : warning 202: number of arguments does not match definition
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(152) : error 029: invalid expression, assumed zero
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(152) : warning 215: expression has no effect
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(152) : error 001: expected token: ";", but found "if"
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(152) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(152) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
else if (PlayerToPoint(3.0, playerid,1481.0393,-1772.3138,18.7958))
{
SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 255;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
Linha:
pawn Код:
else if (PlayerToPoint(3.0, playerid,1481.0393,-1772.3138,18.7958))