Sometan new
#1

ok first at top under #include <a_samp>

pawn Код:
new CheckPoint[MAX_PLAYERS];
new MCP;
then under onplayerspawn
pawn Код:
MCP = SetPlayerCheckpoint(playerid, -329.5715, 1536.9965, 76.6117, 4.0);
then onplayerentercheckpoint
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(CheckPoint == MCP)
    {
        SetPlayerInterior(playerid, 6);
        SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
        return 1;
    }
    return 0;
}
and these errors

Код:
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.
Someone helps?? if not this way then is there another way to make multi-checkpoints without streamers?

EDIT: Line 1134

pawn Код:
if(CheckPoint == MCP)
Reply


Messages In This Thread
Sometan new - by willsuckformoney - 23.07.2010, 02:02
Re: Sometan new - by iggy1 - 23.07.2010, 02:07
Re: Sometan new - by Kar - 23.07.2010, 02:07
Re: Sometan new - by DarkClone - 23.07.2010, 02:12
Re: Sometan new - by willsuckformoney - 23.07.2010, 02:13
Re: Sometan new - by iggy1 - 23.07.2010, 02:17
Re: Sometan new - by willsuckformoney - 23.07.2010, 02:20
Re: Sometan new - by Kar - 23.07.2010, 02:30
Re: Sometan new - by willsuckformoney - 23.07.2010, 02:41
Re: Sometan new - by DarkClone - 23.07.2010, 02:45

Forum Jump:


Users browsing this thread: 7 Guest(s)