Jump to content
  • 0

ajutor urgent


duplex

Question

deci am facut o poarta la o factiune. 

//======================================================================================================================

// Gate Los Santos GTT Racing

//======================================================================================================================

if (newkeys==KEY_FIRE)

{

if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)

{

if(IsPlayerConnected(playerid))

{

if(PlayerToPoint(10, playerid,1419.8329,-1648.8837,13.3817) || PlayerToPoint(10, playerid,1409.4353,-1649.6842,13.3818))

{

    MoveObject(gategtt, 1414.80004883, -1660.09997559, 15.10000038, 4.0);

    SendClientMessage(playerid, COLOR_LIGHTBLUE, ": Gate-ul a fost deschis, se va inchide in 5 secunde.");

    SetTimer("gatepdclose",3500, false);

    return 1;

}

}

}

}

si dupaia

forward gatepdclose();

public gatepdclose()

{

MoveObject(gategtt, 1414.90002441,-1650.09997559,15.10000038, 3.0);

return 1;

}

si poarta se deschide bine...dar cand se inchide vine pe mijloc si pot trece si prin stanga si prin dreapta...am inteles ca cica trebuie sa fac update la streamer 2.6.1...daca e asa cum fac?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.