- 0
nu mai citeste obiectele
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
vasy
[pawn]#include <a_samp>
#include <a_objects>
new obiect;
new obiect1;
new villa;
new RFT1;
new RFT2;
new RFT3;
new RFT4;
forward Actiunea(playerid);
public Actiunea(playerid)
{
MoveObject(obiect, 1497.1999500,989.4000200,10.8000000, 7, 0.0000000,268.0000000,270.0000000);
MoveObject(obiect1, 2738.03, 958.08, 16.47, 5, 0.00, 0.00, 0.00);
MoveObject(villa, -4209.82, -58.66, 14.40, 5 ,0.00, 0.00, 359.98);
MoveObject(RFT1, 1865.72, 801.29, 16.30, 5 ,0.00, 0.00, 89.29);
//move noii
MoveObject(RFT2, 1855.90, 757.60, 9.90, 5 ,0.00, 0.00, 90.00);
MoveObject(RFT3, 1927.00, 783.30, 9.70, 5 ,0.00, 0.00, 359.99);
MoveObject(RFT4, -692.10, 662.10, 16.50, 5 ,0.00, 0.00, 155.99);
return 1;
}
public OnGameModeInit()
{
Create3DTextLabel("Scrie /deschide pentru a deschide bariera", 0x008080FF, 1497.1999500,989.4000200,10.8000000, 40.0, 0, 0);
Create3DTextLabel("Nu uita sa dai /assist ca sa alimentezi masina", 0xFF0000FF, 1630.0, 1615.0, 10.9, 40.0, 0, 0);
Create3DTextLabel("Nu uita sa dai /assist ca sa alimentezi masina", 0xFF0000FF, 1630.64, 1015.55, 10.82, 40.0, 0, 0);
obiect = CreateObject(968,1497.1999500,989.4000200,10.8000000,0.0000000,268.0000000,270.0000000);
obiect1 = CreateObject(2885, 2738.03, 958.08, 16.47, 0.00, 0.00, 0.00);
villa = CreateObject(987, -4209.82, -58.66, 14.40, 0.00, 0.00, 359.98);
RFT1 = CreateObject(2885, 1865.72, 801.29, 16.30, 0.00, 0.00, 89.29);
//porti noi
RFT2 = CreateObject(987, 1855.90, 757.60, 9.90, 0.00, 0.00, 90.00);
RFT3 = CreateObject(987, 1927.00, 783.30, 9.70, 0.00, 0.00, 359.99);
RFT4 = CreateObject(987, -692.10, 662.10, 16.50, 0.00, 0.00, 155.99);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if( strcmp(cmdtext, "/deschide", true)==0)
{
MoveObject(obiect, 1497.1999500,989.4000200,10.8000000, 7, 0.0000000,352.0000000,270.0000000);
SetTimerEx("Actiunea", 7 * 2000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
if( strcmp(cmdtext, "/villa", true)==0)
{
MoveObject(obiect1, 2738.03, 958.08, 9.91, 3, 0.00, 0.00, 0.00);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
if( strcmp(cmdtext, "/ville", true)==0)
{
MoveObject(RFT4, -692.10, 662.10, 16.50, 5 ,0.00, 0.00, 155.99);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
if( strcmp(cmdtext, "/rft1", true)==0)
{
MoveObject(RFT2, 1855.90, 757.60, 9.90, 3 ,0.00, 0.00, 90.00);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
//de astea noi
)
if( strcmp(cmdtext, "/rft2", true)==0)
{
MoveObject(RFT3, 1927.00, 783.30, 9.70, 3 ,0.00, 0.00, 359.99);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
if( strcmp(cmdtext, "/1716", true)==0)
{
MoveObject(RFT1, 1865.72, 801.29, 9.79, 3 ,0.00, 0.00, 89.29);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
if( strcmp(cmdtext, "/focsani", true)==0)
{
MoveObject(villa, -4209.82, -58.66, 8.06, 3 ,0.00, 0.00, 359.98);
SetTimerEx("Actiunea", 5 * 1000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
return 1;
}
return 0;
}
public OnFilterScriptInit()
{
return 1;
}
[/pawn]
Deci am acest fs
Bun merge totul in regula
Dar imi citeste doar primele 4 porti de la 4 in colo adica ultimele 3 nu mi le mai citeste de ce?
<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
4 answers to this question
Recommended Posts