Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new outdoor[3];
- /*==============================================================================*/
- forward PrimeroFS(playerid);
- forward PrimeroFS1(playerid);
- /*==============================================================================*/
- forward Higor_Gamer(playerid);
- forward Higor_Gamer1(playerid);
- /*==============================================================================*/
- public OnGameModeInit()
- {
- outdoor[0] = CreateObject(7914, 1296.21008, -1862.49353, 19.79321, 0.00000, 0.00000, 179.41060);
- SetObjectMaterialText(outdoor[0], "Primero [FS]", 0, 70, "ravie", 22, 0, -1, -16776961, 1);
- outdoor[2] = CreateObject(7914, 1296.21008, -1862.53357, 19.79321, 0.00000, 0.00000, 179.41060);
- SetObjectMaterialText(outdoor[2], "Higor_Gamer", 0, 70, "ravie", 22, 0, -1, -16776961, 1);
- SetTimer("PrimeroFS",1,1);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public PrimeroFS(playerid)
- {
- MoveObject(outdoor[0], 1296.21008, -1862.49353, 19.79321, 1);// Posição dele acezo
- SetTimer("PrimeroFS1",1,1);
- return 1;
- }
- public PrimeroFS1(playerid)
- {
- MoveObject(outdoor[0], 1296.21008, -1862.53357, 19.79321, 1);// Posição dele apagado
- SetTimer("Higor_Gamer",1,1);
- return 1;
- }
- public Higor_Gamer(playerid)
- {
- MoveObject(outdoor[2], 1296.21008, -1862.49353, 19.79321, 1);// Posição dele acezo
- SetTimerEx("Higor_Gamer1", 1000, 0, "d", playerid);
- SetTimer("Higor_Gamer1",1,1);
- return 1;
- }
- public Higor_Gamer1(playerid)
- {
- MoveObject(outdoor[2], 1296.21008, -1862.53357, 19.79321, 1);// Posição dele apagado
- SetTimer("PrimeroFS",1,1);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/ir", cmdtext, true, 10) == 0)
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid,1288.5880, -1859.4281, 13.1516);
- GameTextForPlayer(playerid,"~g~Primero [FS]",4000,6);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement