Jump to content
  • 0

Problema cand compilez


SkyLzo98

Question

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3099) : error 004: function "PlayerToPoint" is not implemented

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3103) : error 004: function "PlayerToPoint" is not implemented

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3115) : error 004: function "PlayerToPoint" is not implemented

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3119) : error 004: function "PlayerToPoint" is not implemented

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3123) : error 004: function "PlayerToPoint" is not implemented

C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3127) : error 004: function "PlayerToPoint" is not implemented

Imi apar peste 15 de astea cand vreau sa compilez de ce ma ajutati va rog frumos sa o repar

Daca vreti sa vorbim add skype: skilzo98

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Adauga asta pe la sfarsitul scriptului:

[pawn]

stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)

{

    if(IsPlayerConnected(playerid))

        {

            new Float:oldposx, Float:oldposy, Float:oldposz;

            new Float:tempposx, Float:tempposy, Float:tempposz;

            GetPlayerPos(playerid, oldposx, oldposy, oldposz);

            tempposx = (oldposx -x);

            tempposy = (oldposy -y);

            tempposz = (oldposz -z);

            if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))

            {

                return 1;

            }

        }

        return 0;

}[/pawn]

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

=-" post="125531" timestamp="1352123832"]

Adauga asta pe la sfarsitul scriptului:

[pawn]

stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)

{

    if(IsPlayerConnected(playerid))

        {

            new Float:oldposx, Float:oldposy, Float:oldposz;

            new Float:tempposx, Float:tempposy, Float:tempposz;

            GetPlayerPos(playerid, oldposx, oldposy, oldposz);

            tempposx = (oldposx -x);

            tempposy = (oldposy -y);

            tempposz = (oldposz -z);

            if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))

            {

                return 1;

            }

        }

        return 0;

}[/pawn]

K am sa incerc acum sper sa mearga :X

Daca vreti sa vorbim add skype: skilzo98

Link to comment
Share on other sites

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.