Jump to content
  • 0

CUm implementez erori?


Question

Posted

Cum implementez erorile astea?

[pawn]GM2.pwn(2193) : error 004: function "SafeResetPlayerWeapons" is not implemented

GM2.pwn(2194) : error 004: function "SafeGivePlayerWeapon" is not implemented

GM2.pwn(2388) : error 004: function "ClearChatbox" is not implemented

GM2.pwn(2802) : error 004: function "SetPlayerToTeamColor" is not implemented

GM2.pwn(3092) : error 004: function "PlayerToPoint" is not implemented[/pawn]

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

2 answers to this question

Recommended Posts

Posted

Randurile 2181-2230:

[pawn]public StartPaintball()

{

PaintballRound = 1;

StartingPaintballRound = 0;

PaintballWinner = 999;

PaintballWinnerKills = 0;

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

{

    if(IsPlayerConnected(i))

    {

        if(PlayerPaintballing != 0)

        {

*                  SafeResetPlayerWeapons(i);

*             SafeGivePlayerWeapon(i, 29, 999);

            TogglePlayerControllable(i, 1);

            SendClientMessage(i, COLOR_YELLOW, "Paintball Match started, 4 minutes left.");

            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);

        }

    }

}

SetTimer("PaintballEnded", 240000, 0);

return 1;

}

public PaintballEnded()

{

new string[256];

new name[MAX_PLAYER_NAME];

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

{

    if(IsPlayerConnected(i))

    {

        if(PlayerPaintballing != 0)

        {

            if(IsPlayerConnected(PaintballWinner))

            {

                GetPlayerName(PaintballWinner, name, sizeof(name));

                format(string,sizeof(string), "** %s won the Paintball Match with %d kills **",name,PaintballWinnerKills);

                SendClientMessage(i, COLOR_WHITE, string);

            }

            SafeResetPlayerWeapons(i);

            PlayerPaintballing = 0;

            SetPlayerPos(i, SBizzInfo[10][sbEntranceX],SBizzInfo[10][sbEntranceY],SBizzInfo[10][sbEntranceZ]);

        }

}

}

AnnouncedPaintballRound = 0;

    PaintballRound = 0;

return 1;

}[/pawn]

Randurile: 2386-2389:

[pawn]public IO1(playerid)

{

* ClearChatbox(playerid, 5);

PlayerInfo[playerid][pMuted] = 1;

[/pawn]

Randurile 2792-2815:

[pawn] if(Spectate == 253)

{

TogglePlayerControllable(i, 1);

TogglePlayerSpectating(i, 0);

SetPlayerInterior(i,Unspec[sPint]);

PlayerInfo[pInt] = Unspec[sPint];

PlayerInfo[pLocal] = Unspec[sLocal];

Unspec[sLocal] = 255;

SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pChar], Unspec[sPx],  Unspec[sPy], Unspec[sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);

gTeam = PlayerInfo[pTeam];

* SetPlayerToTeamColor(i);

MedicBill = 0;

if(PlayerInfo[pDonateRank] > 0)

        {

            SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pChar], Unspec[Coords][0], Unspec[Coords][1], Unspec[Coords][2], 10.0, -1, -1, -1, -1, -1, -1);

SpawnPlayer(i);

SetCameraBehindPlayer(i);

        }

        else

        {

SpawnPlayer(i);

}

Spectate = 255;

}[/pawn]

Randurile 3088-3098

[pawn]public IsAtDealership(playerid)

{

if(IsPlayerConnected(playerid))

{

*   if(PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) || PlayerToPoint(50,playerid,537.3366,-1293.2140,17.2422) || PlayerToPoint(35,playerid,2521.5544,-1524.4504,23.8365) || PlayerToPoint(50,playerid,2155.0146,-1177.3333,23.8211) || PlayerToPoint(50,playerid,299.1723,-1518.6627,24.6007) || PlayerToPoint(50,playerid,2103.044921,1415.1352,10.49650))

{

return 1;

}

}

return 0;

}[/pawn]

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.