[Include] [INC] Advanced Teleports! V. 1.0
#11

Hi.

I have made this functions:

SetCarIdPos,
SetMoneyPos
SetHealthPos
SetArmourPos

(all with strings in case of errors)

I'm working on the "SetTeamPlayerPos( blah, blah, const Team[])"

But i get this error:

pawn Код:
X:\Xxxx\Xxxx\Xxxx\pawno\include\MFC-Teleports.inc(279) : error 033: array must be indexed (variable "Team")
The files 278 to 280 are theese:

pawn Код:
TogglePlayerControllable(playerid, 1);
    if (GetPlayerTeam(playerid) == Team)
    {
btw. the command I'm using is:
pawn Код:
if(strcmp("/tele", cmdtext, true) == 0)
      {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        SetTeamPlayerPos(playerid, X, Y, Z+1000, 0.0, 0, false, "Groove");
      //SetTeamPlayerPos(playerid, x, y, z, a, interior, toggle:TeleportCar, const Team[]);
        return 1;
      }
If anyone could help.. really apreciated

See ya!
Reply


Messages In This Thread
[INC] Advanced Teleports! V. 1.0 - by MarcoNecroX - 12.05.2009, 22:51
Re: [INC] Advanced Teleports! - by *ToM* - 12.05.2009, 22:58
Re: [INC] Advanced Teleports! - by Weirdosport - 13.05.2009, 11:16
Re: [INC] Advanced Teleports! - by hk_shade - 13.05.2009, 13:43
Re: [INC] Advanced Teleports! - by MarcoNecroX - 13.05.2009, 18:21
Re: [INC] Advanced Teleports! - by BeckzyBoi - 13.05.2009, 19:23
Re: [INC] Advanced Teleports! - by James_Alex - 13.05.2009, 20:35
Re: [INC] Advanced Teleports! - by Weirdosport - 13.05.2009, 21:32
Re: [INC] Advanced Teleports! - by MarcoNecroX - 13.05.2009, 21:34
Re: [INC] Advanced Teleports! - by Weirdosport - 13.05.2009, 21:41
Re: [INC] Advanced Teleports! - by MarcoNecroX - 14.05.2009, 04:36
Re: [INC] Advanced Teleports! V. 1.0 - by MarcoNecroX - 15.05.2009, 04:02

Forum Jump:


Users browsing this thread: 1 Guest(s)