[HELP]Gate
#1

Heya guys...


I just want to ask if anyone have a time and can make me 2 gates which can moves with command ... on player name protection ^^

Thanks...
Reply
#2

pawn Код:
new pddurvis;
#define TEAM_TEAMNAME 1

public OnGameModeInit()
{
pddurvis =CreateObject(your gates or doors cords n stuff);//doors closed
CreateObject(your gates or doors cords n stuff);//opened doors
return 1;
{

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/cpd1", true) == 0)
  {
  MoveObject(pddurvis1,cords,2.00); // Put your cords in here
    if(gTeam[playerid] != TEAM_TEAMNAME) return SendClientMessage(playerid, COLOR_RED, "You are not a cop");
  return 1;
  }

if(strcmp(cmdtext, "/opd1", true) == 0)
  {
  MoveObject(pddurvis1,253.027435,115.453544,1003.218750,2.00); // Put your cords in here
    if(gTeam[playerid] != TEAM_NAME) return SendClientMessage(playerid, COLOR_RED, "You are not a cop");
  return 1;
  }
 return 1;
}
NEXT TIME SEARCH!

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)