19.01.2014, 01:23
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/Entrar", true) == 0)
{
else if (PlayerToPoint(3.0, playerid,691.5710,-1276.1722,13.5607))
{//Entrada Prefeitura
SetPlayerPos(playerid, -2169.7590,645.5231,1057.5938);
GameTextForPlayer(playerid, "~w~Prefeitura LS",5000,1);
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 1;
SetPlayerVirtualWorld(playerid, 0);
{
return 1;
}
pawn Код:
C:\Users\Alisson\Desktop\Brasil Knight Games\gamemodes\BKG.pwn(72) : error 029: invalid expression, assumed zero
C:\Users\Alisson\Desktop\Brasil Knight Games\gamemodes\BKG.pwn(72) : warning 215: expression has no effect
C:\Users\Alisson\Desktop\Brasil Knight Games\gamemodes\BKG.pwn(72) : error 001: expected token: ";", but found "if"
C:\Users\Alisson\Desktop\Brasil Knight Games\gamemodes\BKG.pwn(72) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Alisson\Desktop\Brasil Knight Games\gamemodes\BKG.pwn(72) : 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 Код:
else if (PlayerToPoint(3.0, playerid,691.5710,-1276.1722,13.5607))