Help! The gate not work
#2

not tested
pawn Code:
psur = CreateDynamicObject(971,-982.02215576,490.67080688,3.03113890,0.00000000,0.00000000,46.00000000); //puerta sur

CMD:ps(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >= 4 || IsPlayerAdmin(playerid)) {
        MoveDynamicObject(psur, -982.02215576,490.67080688,-1.803113890, 3);
        SendClientMessage(playerid, 0xFFFF00AA,"The Gate is opened.Welcome!");
        return 1;
    } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You are not a high enough level to use this command");
}
or

pawn Code:
psur = CreateObject(971,-982.02215576,490.67080688,3.03113890,0.00000000,0.00000000,46.00000000); //puerta sur

CMD:ps(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >= 4 || IsPlayerAdmin(playerid)) {
        MoveObject(psur, -982.02215576,490.67080688,-1.803113890, 3);
        SendClientMessage(playerid, 0xFFFF00AA,"The Gate is opened.Welcome!");
        return 1;
    } else return SendClientMessage(playerid,COLOR_RED,"ERROR: You are not a high enough level to use this command");
}
Reply


Messages In This Thread
Help! The gate not work - by martini002 - 05.04.2011, 22:50
Re: Help! The gate not work - by Venice - 05.04.2011, 22:54
Re: Help! The gate not work - by martini002 - 05.04.2011, 22:54
Re: Help! The gate not work - by Venice - 05.04.2011, 22:56
Re: Help! The gate not work - by martini002 - 05.04.2011, 22:57
Re: Help! The gate not work - by martini002 - 05.04.2011, 23:13
Re: Help! The gate not work - by Venice - 05.04.2011, 23:51
Re: Help! The gate not work - by martini002 - 05.04.2011, 23:55
Re: Help! The gate not work - by Venice - 06.04.2011, 00:10

Forum Jump:


Users browsing this thread: 2 Guest(s)