Certain FS are not working
#7

6 errors this time,once again all invalid function or declaration. Here's a portion of the code

pawn Код:
public Door1Close(playerid)
{
    MoveObject(Door1, 250.57829285,62.77145767,1003.96960449, 0.5);
    SendClientMessage(playerid, Message_Close_Color, Close_Message);
    return 1;
}

public Door2Close(playerid)
{
    MoveObject(Door2, 248.08538818,75.28663635,1003.96960449, 0.5);
    SendClientMessage(playerid, Message_Close_Color, Close_Message);
    return 1;
}

public Door3Close(playerid)
{
    MoveObject(Door3, 243.69999695,75.31128693,1004.450012207,0.5);
    SendClientMessage(playerid, Message_Close_Color, Close_Message);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/Dooropen", true))
    {
        if(GetPlayerSkin(playerid) == 265 || 280 || 281 || 282 || 283 || 284 || 288)
        {
            if(IsPlayerInRangeOfPoint(playerid, 2.0, 249.4305,63.5593,1003.6406))
         {
                MoveObject(Door1, 250.578125, 61.020000457764, 1003.9696044922, 0.5);
                SetTimer("Door1Close", 5000, false);
            }
            else if(IsPlayerInRangeOfPoint(playerid, 2.0, 247.7019,76.2960,1003.6406))
            {
                MoveObject(Door2, 248.0849609375, 73.5, 1003.9696044922, 0.5);
                SetTimer("Door2Close", 5000, false);
            }
            else if(IsPlayerInRangeOfPoint(playerid, 2.0, 244.5161,75.7830,1003.9963))
            {
                MoveObject(Door3, 243.69921875, 73.400001525879, 1004.450012207, 0.5);
                SetTimer("Door3Close", 5000, false);
            }
        }
        else return SendClientMessage(playerid, Message_Color, Error_Message);
    }
    return 1;
}
Reply


Messages In This Thread
Certain FS are not working - by sherlock - 14.10.2011, 19:09
Re: Certain FS are not working - by [MWR]Blood - 14.10.2011, 19:21
Re: Certain FS are not working - by sherlock - 14.10.2011, 19:45
Re: Certain FS are not working - by sleepysnowflake - 14.10.2011, 19:48
Re: Certain FS are not working - by sherlock - 14.10.2011, 20:06
Re: Certain FS are not working - by Stigg - 14.10.2011, 20:08
Re: Certain FS are not working - by sherlock - 14.10.2011, 20:20
Re: Certain FS are not working - by Kerlan - 14.10.2011, 23:32
Re: Certain FS are not working - by sherlock - 15.10.2011, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)