Jump to content

Question

Posted

Salutare la toti cei ce citesc acest topic.

Dupa o pauza foarte mare, m-am reapucat de sa:mp. Am inceput cu un gamemode, dar am ceva errori in el :

error 004: function "PlayerToPoint" is not implemented

Sunt mai multe errori de genu. Stiu ca este o { neinchisa sau in plus. Este un mod mai usor de a o gasi ??

vrei sa vb cu mine? add [email protected] pe yahoo mesenger ;)

10 answers to this question

Recommended Posts

Posted

Candestete ce ai pus ultima oara pana nu ati da erori si o vei gasi usor

<a target="_blank" href="http://samp.ae-webmedia.de/signature/"><img border="0" src="http://samp.ae-webmedia.de/signature/signature.php?bg=000000&text=FFFF

Posted

dai compile si iti apare un id de cifre mergi la linia de exemplu 2500 :) si te uiti pe unde ai gresit sau stergi toata linia de unde ai eroarea daca nu inteles dami pm cu id tau:P

Posted

Candestete ce ai pus ultima oara pana nu ati da erori si o vei gasi usor

Exact cum a spus dolcecoverca, gandeste-te ce ai facut ultima data in gamemode si verifica in zona aia.. (normal pe acolo ar trebui sa fie erroarea..)

Posted

Nu va mai bagati daca nu stiti.

Deuce_Johnson,

Adauga asta in script:

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
public 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;
}

logo.png

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

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.