14.05.2009, 04:36
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:
The files 278 to 280 are theese:
btw. the command I'm using is:
If anyone could help.. really apreciated
See ya!
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")
pawn Код:
TogglePlayerControllable(playerid, 1);
if (GetPlayerTeam(playerid) == Team)
{
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;
}
See ya!