Gate for 1 player
#5

Quote:
Originally Posted by Clive
Посмотреть сообщение
Use this change the "Your Name." to your name in game.
pawn Код:
if (strcmp("/open", cmdtext, true, 10) == 0)
{
    new PlayerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
    if(!strcmp("Your Name.",PlayerName,true)) return 0;//Change: Your Name.
    MoveObject(gate,443.53085327,947.01824951,-2.5,1.5);
    SendClientMessage(playerid, 0xFF9900AA, "Gate Open");
    return 1;
}
Thats really cool, Do you mind if i use it to?
Reply


Messages In This Thread
Gate for 1 player - by duckie - 09.03.2011, 14:05
Re: Gate for 1 player - by =WoR=Mitch - 09.03.2011, 14:09
Re: Gate for 1 player - by bhaveshnande - 09.03.2011, 14:11
Re: Gate for 1 player - by HyperZ - 09.03.2011, 14:12
Re: Gate for 1 player - by =WoR=Mitch - 09.03.2011, 14:21
Re: Gate for 1 player - by duckie - 09.03.2011, 14:43
Re: Gate for 1 player - by Davz*|*Criss - 09.03.2011, 14:51
Re: Gate for 1 player - by duckie - 09.03.2011, 14:57
Re: Gate for 1 player - by Davz*|*Criss - 09.03.2011, 14:58

Forum Jump:


Users browsing this thread: 1 Guest(s)