Small Error List.
#3

@ TAGProductions, it will result as Argument Type Mismatch....... ( Ohai [2F2F]Peace )

Sadly, you didn't know that you forgot a bracket here

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
Should be

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
Saw the bracket?

And at the end of OnPlayerCommandText, you forgot a closing bracket, the correct OnPlayerCommandText is

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
if (strcmp("/enter", cmdtext, true, 6) == 0)
        {
            if(PlayerToPoint(10,playerid,2860.3044,1808.9399,10.8203))
            {
                     SetPlayerPos(playerid,2306.5095,-15.9654,26.7496);
                     return 1;
            }
            return 0;
        }
    if (strcmp("/exit", cmdtext, true, 6) == 0)
        {
            if(IsPlayerInRangeOfPoint(playerid,10.0,2306.5095,-15.9654,26.7496))
                {
                    SetPlayerPos(playerid,2860.3044,1808.9399,10.8203);
                    return 1;
                }
        }
       
        return 0;
}
Replace with that code ( OnPlayerCommandText only )

For loose indentation, you may fix it yourself, if you are too lazy

pawn Код:
#pragma tabsize 0
Reply


Messages In This Thread
Small Error List. - by Gramercy Riffs - 13.07.2011, 14:01
Re: Small Error List. - by [GTA]AmericanGangster - 13.07.2011, 14:04
Re: Small Error List. - by Basicz - 13.07.2011, 14:08
Re: Small Error List. - by veyron - 13.07.2011, 14:09
Re: Small Error List. - by [GTA]AmericanGangster - 13.07.2011, 14:15
Re: Small Error List. - by Skaizo - 13.07.2011, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)