Jump to content

Question

Posted

Ba baieti,Ce sa-i fac ma frate? Nush... Pe google nu gasesc nimic,Nu stiu absolut nu stiu ce naiba are... Va rog eu ajutatiima.. Nu sunt chiar asa "Expert" In pawno,dar nici praf.. adica stiu cat de cat.. dar asa ceva chiar nu stiu ce sa-i fac va rog spuneti-mi ce sa-i bag,Si unde!

Untitled.png

6 answers to this question

Recommended Posts

  • 0
Posted
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;
}

Asta e functia. Daca nu merge fa-l public

  • 0
Posted

Acolo ai o acolada mancata degeaba postezi erorile, nu putem sti unde ai lipsa acolada, trebuie sa te vandesti inajnte de a lua erorile alea ce ai lucrat ultima data, daca nici asa nu merge iei fiecare public in parte si il comentezi si cand vezi ca nu iti mai da teancu ala de erori inseamna ca acolo e problema

 

Comentariul se face asa /* aici este comentat */ ai inchis comentariul

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
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.