24.01.2013, 09:14
tenta assim:
no comeзo do GM
altere agora no cуdigo
ve se da certo!
no comeзo do GM
pawn Код:
new gta3gate2;
pawn Код:
//================================== Portao vip =======================================================
if(strcmp(cmd, "/Pvip", true) == 0)
{
if(PlayerToPoint(15.0,playerid,283.095062, -1542.899170, 25.510294) || PlayerToPoint(15.0, playerid, 321.832672, -1488.615112, 25.527353) && PlayerToPoint(15.0, playerid, 321.832672, -1488.615112, 25.527353))
{
if (IsACop(playerid)
{ //GateGaragem
MoveObject( gt3gate, 233, -2031.3000488281, 7.5,3,0.0, 0.0, 326.2500);
MoveObject( gt3gate3, 233, -2031.29980468751, 10.5, 0, 0, 0);
GameTextForPlayer(playerid, "~w~Portao Vip ~n~~b~Aberto", 5000, 3);
SendClientMessage(playerid, TEAM_BALLAS_COLOR, "O Portгo Fecharб em 5 segundos.");
SetTimer("gt3gate2", 5000, false);
}
return true;
}
CreateObject(980, 233, -2031.29980468751, 10.5, 0, 0, 0);