Jump to content

Question

Posted

Am facut o poarta si cand o deschid nu se deschide cum trebuie.

samp027fgk.png

si uitati si scriptul:

[pawn]        if((newkeys==KEY_CROUCH))

    {

        if(PlayerToPoint(12.0,playerid,3277.30004883,-778.29998779,12.80000019))

        {

        if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)

{

if ((!adds)) {return 1;}

    SetTimer("AddsOn10", addtimer36, 0);adds = 0;

            MoveObject(jailgate, 3277.3000488281,-778.29998779297,6.8000001907349, 3);

            SCM(playerid, COLOR_REDCLAU, "{FFFFFF}Bariera a fost deschisa si  se inchide in 4 secunde. Drum Bun! ");

            SetTimer("closejailgate",4000,0);

        }

        }

    }

[/pawn]

[pawn]public closejailgate()

{

    for(new i=0; i<MAX_PLAYERS; i++)

{

if (IsPlayerConnected(i))

{

MoveObject(jailgate, 3277.3000488281,-778.29998779297,12.80000019, 3);

    }

    }

    return 1;

}[/pawn]

10 answers to this question

Recommended Posts

Guest mafia2
Posted

Ia incearca sa skimbi streamer

Posted

Am facut o poarta si cand o deschid nu se deschide cum trebuie.

samp027fgk.png

si uitati si scriptul:

[pawn]        if((newkeys==KEY_CROUCH))

    {

        if(PlayerToPoint(12.0,playerid,3277.30004883,-778.29998779,12.80000019))

        {

        if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)

{

if ((!adds)) {return 1;}

    SetTimer("AddsOn10", addtimer36, 0);adds = 0;

            MoveObject(jailgate, 3277.3000488281,-778.29998779297,6.8000001907349, 3);

            SCM(playerid, COLOR_REDCLAU, "{FFFFFF}Bariera a fost deschisa si  se inchide in 4 secunde. Drum Bun! ");

            SetTimer("closejailgate",4000,0);

        }

        }

    }

[/pawn]

[pawn]public closejailgate()

{

    for(new i=0; i<MAX_PLAYERS; i++)

{

if (IsPlayerConnected(i))

{

MoveObject(jailgate, 3277.3000488281,-778.29998779297,12.80000019, 3);

    }

    }

    return 1;

}[/pawn]

si eu am avut acceasi problema ca si tine

Pentru a rezolva problema ai nevoie de asta

o pui in folderul plugins din serverul tau apoi modific in server.cfg cu notepad linia

Windows

plugins streamer

Linux

plugins streamer.so

Posted

Compilezi cu includeul de la asta

http://code.google.com/p/samp-streamer-plugin/downloads/list?q=label:0.3d

Si schimbi si pluginul.

Citeste si aici

http://www.sa-mp.ro/forum/index.php/topic,20756.0.html

gXvsYS
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.