23.07.2010, 02:02
ok first at top under #include <a_samp>
then under onplayerspawn
then onplayerentercheckpoint
and these errors
Someone helps?? if not this way then is there another way to make multi-checkpoints without streamers?
EDIT: Line 1134
pawn Код:
new CheckPoint[MAX_PLAYERS];
new MCP;
pawn Код:
MCP = SetPlayerCheckpoint(playerid, -329.5715, 1536.9965, 76.6117, 4.0);
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(CheckPoint == MCP)
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
return 1;
}
return 0;
}
Код:
C:\Users\Charlie\Desktop\server 2\gamemodes\BEvA51B.pwn(1134) : error 033: array must be indexed (variable "CheckPoint") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
EDIT: Line 1134
pawn Код:
if(CheckPoint == MCP)