Automatic Teleport problem
#1

Well i removed all ''yellow blips'' from the game like the entrance of lspd and i added teleports... but there its a problem i need to do /enter all times i want to enter in a place i tryed to make it automatic and here its a problem:
Exemple:
Foward in top of script:
Quote:

forward CheckForWalkingTeleport(playerid);

Pawno Code:
Quote:

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;
}
}

Errors:
Quote:

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.

Reply


Messages In This Thread
Automatic Teleport problem - by sandsnake - 29.03.2009, 13:24
Re: Automatic Teleport problem - by SpiderPork - 29.03.2009, 13:30
Re: Automatic Teleport problem - by sandsnake - 29.03.2009, 13:43
Re: Automatic Teleport problem - by SpiderPork - 29.03.2009, 13:46
Re: Automatic Teleport problem - by sandsnake - 29.03.2009, 14:27

Forum Jump:


Users browsing this thread: 5 Guest(s)