Jump to content

Recommended Posts

Posted (edited)

#define                 SERVER_NAME                             "RPG"
#define                 SERVER_VERSION                          "0.1"


#include                <a_samp>

{
            SetPlayerPos(playerid, 1800.1593,-1863.6956,13.5748);
            GivePlayerMoney(playerid, 10000)
}



 

 

Daca e ceva gresit spuneti-mi aici

Edited by .LepS
Posted

#define SERVER_NAME "RPG"

#define SERVER_VERSION "0.1"

 

 

#include <a_samp>

 

{

SetPlayerPos(playerid,1800.1593,-1863.6956,13.5748);

GivePlayerMoney(playerid, 10000)

}

Asa cred ca e bine

Posted

#define SERVER_NAME "RPG"

#define SERVER_VERSION "0.1"

 

 

#include <a_samp>

 

{

SetPlayerPos(playerid,1800.1593,-1863.6956,13.5748);

GivePlayerMoney(playerid, 10000)

}

Asa cred ca e bine

nu e

Posted

{
            SetPlayerPos(playerid, 1800.1593,-1863.6956,13.5748);
            GivePlayerMoney(playerid, 10000)
}

 

N-are ce cauta acolo.

Asta trebuie sa fie pusa intr-un callback / comanda.

Posted

{

            SetPlayerPos(playerid, 1800.1593,-1863.6956,13.5748);

            GivePlayerMoney(playerid, 10000)

}

 

N-are ce cauta acolo.

Asta trebuie sa fie pusa intr-un callback / comanda.

Exact ce zice şi el îţi spun şi eu.

Codul tău trebuie pus intr-un callback sau o comanda, de exemplu:

CMD:enter(playerid, params[])
{
      if(IsPlayerConnected(playerid))      
      {
           SetPlayerPos(playerid, 1800.1593,-1863.6956,13.5748);
           GivePlayerMoney(playerid, -10000);
      }
      return 1;
}
Posted

Ba chestia asta daca nu te-ai prins este atunci cand te loghezi pe server,sunt bani de inceput si locul unde sa te spawn-eze,dar eu nu mă pricep prea bine dar din cate stiu asta ar trebui sa fie automat de la server,daca tot erați mari scripteri intrati macar intr-un gm de-al vostru si ii copiati linia ,Nu e cine stie ce sistem

Posted

Ba chestia asta daca nu te-ai prins este atunci cand te loghezi pe server,sunt bani de inceput si locul unde sa te spawn-eze,dar eu nu mă pricep prea bine dar din cate stiu asta ar trebui sa fie automat de la server,daca tot erați mari scripteri intrati macar intr-un gm de-al vostru si ii copiati linia ,Nu e cine stie ce sistem

Tu crezi ca toate gamemode-urile sunt la fel?

I-am explica mai sus ca acea parte din cod trebuie pus intr-un callback sau o comanda.

Daca se pune atunci cand se logheaza, atunci inseamna ca are un anumit callback care este activat atunci cand se logheaza folosind mysql_tquery.

In acel callback poate adauga acea parte din cod, si nu primeste nici o eroare.

Daca nu stii sa scriptezi, nu critica alti oameni.

  • Upvote 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.

moduri samp