if(!strcmp(cmdtext, "/go", true)) // By CuervO_HoMo
{
if(IsAPDMember(playerid) || IsAnNg(playerid) || IsAnFbi(playerid))
{
if (IsPlayerInRangeOfPoint(playerid, 10, -520.79998779297, -528.09997558594, 25.700000762939))
{
if(fPVDStatus == 0)
{
MoveDynamicObject(fPVDoor, -520.79998779297, -526.29998779297, 25.700000762939, 0, 0, 270);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "You have opened the Federal Prison vault gate.");
fPVDStatus = 1;
}
else if(fPVDStatus == 1)
{
MoveDynamicObject(fPVDoor, -520.79998779297, -528.09997558594, 25.700000762939, 0, 0, 270);
SendClientMessage(playerid, COLOR_RED, "You have closed the Federal Prison vault gate.");
fPVDStatus = 0;
}
}
}
fPVDoor = CreateDynamicObject(2634,253.1996,125.2256,1003.5666,0,0,90); //vault
new fPVDStatus = 0;
new fPVDoor;
] if(!strcmp(cmdtext, "/go", true)) // By CuervO_HoMo
{
if(IsAPDMember(playerid) || IsAnNg(playerid) || IsAnFbi(playerid))
{
if (IsPlayerInRangeOfPoint(playerid, 10, -520.79998779297, -528.09997558594, 25.700000762939))
{
if(fPVDStatus == 0)
{
MoveDynamicObject(fPVDoor, -520.79998779297, -526.29998779297, 25.700000762939, 0, 0, 270);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "You have opened the Federal Prison vault gate.");
fPVDStatus = 1;
}
else if(fPVDStatus == 1)
{
MoveDynamicObject(fPVDoor, -520.79998779297, -528.09997558594, 25.700000762939, 0, 0, 270);
SendClientMessage(playerid, COLOR_RED, "You have closed the Federal Prison vault gate.");
fPVDStatus = 0;
}
}
}
fPVDoor = CreateDynamicObject(2634,253.1996,125.2256,1003.5666,0,0,90); //vault
new fPVDStatus = 0;
new fPVDoor;
|
Those Gates wont move,
pawn Код:
pawn Код:
pawn Код:
Now Ma Problem Is the Gates wont Move Thats why i created this post Ofcourse , Maybe i did Copyd the wrong Cordinates?? Here are the gate Files so u may fix it for me [ Wouldt be very friendly and will be rewarded with reputation ]This Is the Open One http://www.solidfiles.com/d/fe3f37c4de/ And Here is The Closed One http://www.solidfiles.com/d/68be57da19/ Anyway Thanks For reading Those poeple That wouldt like to help me Or toke his time to read this Thank you very much |