#1

how to make hats Command /оpen but I just can not open and the key to give to others and they can open and close
Reply
#2

any help me please ??
Reply
#3

Show us the code.
Reply
#4

eehm more explaination? i dont understand ya, and show us the code
Reply
#5

no need cords please give CMD I alone will insert the cords

Please Help ME
Reply
#6

if(strcmp(cmdtext,"/opengate", true) == 0)
{
if (gTeam[playerid] == TEAM_GROVE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(hqgate, 289.919067, -1547.427734, 27.193420, 1.500000);
return 1;
}
}
}

if(strcmp(cmdtext,"/closegate", true) == 0)
{
if (gTeam[playerid] == TEAM_GROVE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(hqgate, 283.870544, -1543.398804, 27.193420, 1.500000);
return 1;
}
}
}

here and how to make a boss that only one player that you can open the gate
Reply
#7

Quote:
Originally Posted by Dw.UsHer
Посмотреть сообщение
if(strcmp(cmdtext,"/opengate", true) == 0)
{
if (gTeam[playerid] == TEAM_GROVE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(hqgate, 289.919067, -1547.427734, 27.193420, 1.500000);
return 1;
}
}
}

if(strcmp(cmdtext,"/closegate", true) == 0)
{
if (gTeam[playerid] == TEAM_GROVE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(hqgate, 283.870544, -1543.398804, 27.193420, 1.500000);
return 1;
}
}
}

here and how to make a boss that only one player that you can open the gate
Instead of (gTeam) why not using names?

Like if his name is "John_Smith" then he can open the gates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)