forward CheckForWalkingTeleport(playerid); |
public CheckForWalkingTeleport(playerid); if (PlayerToPoint(3.0, playerid,1480.63,-1767.43,18.79)) { SetPlayerInterior(playerid,3); SetPlayerPos(playerid,387.7978,173.8582,1008.382 ; GameTextForPlayer(playerid, "~w~Welcome to the City Hall", 5000, 1); PlayerInfo[playerid][pInt] = 3; PlayerInfo[playerid][pLocal] = 241; } else if (PlayerToPoint(3.0, playerid,1073.0619,-344.5148,73.9922)) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == { SetPlayerInterior(playerid,2); SetPlayerPos(playerid,1205.0947,-10.1685,1000.9219);//Hitman Hq PlayerInfo[playerid][pInt] = 2; PlayerInfo[playerid][pLocal] = 242; } } |
D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(16333) : error 029: invalid expression, assumed zero D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(16333) : error 004: function "CheckForWalkingTeleport" is not implemented D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(3753 : warning 203: symbol is never used: "GetPointDistanceToPointExMorph" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
public CheckForWalkingTeleport(playerid)
{
if (PlayerToPoint(3.0, playerid,1480.63,-1767.43,18.79))
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid, 387.7978, 173.8582, 1008.3828);
GameTextForPlayer(playerid, "~w~Welcome to the City Hall", 5000, 1);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 241;
}
else if (PlayerToPoint(3.0, playerid,1073.0619,-344.5148,73.9922))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid, 1205.0947, -10.1685, 1000.9219); // Hitman HQ
PlayerInfo[playerid][pInt] = 2;
PlayerInfo[playerid][pLocal] = 242;
}
}
return 1;
}
D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(16332) : error 029: invalid expression, assumed zero D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(16332) : error 004: function "CheckForWalkingTeleport" is not implemented D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(16355) : warning 225: unreachable code D:\SAMPSE~1\GAMEMO~1\BackUp\morojr.pwn(37540) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.