Jump to content

Problema NPC-uri


rpg

Recommended Posts

Problema intalnita (descriere): Am incercat sa adaug un nou sistem de bus-uri in server-ul meu,dar botii(creat de npc-uri cred) nu se spawneaza,adica stau mereu la mijlocul hartii,desii intr-un gm normal(cum ar fii grand lacerny,unde l-am testat prima oara) merge perfect.
Ero(area / rile) / warning-(ul / urile):FS-ul nu are niciun fel de warning,e "impecabil"
Liniile de cod / sursa / script-ul(obligatoriu): http://pastebin.com/EwNsvz0C
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da... .Am incercat sa modific aceste line-uri in gm-ul principal :

    if(gPlayerLogged[playerid] == 0)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires a Login BEFORE spawn (Kicked) **");
        Kick(playerid);
        return 1;

La:

if(gPlayerLogged[playerid] == 0 && !IsPlayerNPC(playerid))

 

Multumesc,

Edited by rpg

giphy.gif.418e22646746f7065f229917bd9fae15.gif

Link to comment
Share on other sites

On 11/13/2016 at 1:26 PM, Gireada said:

Vezi si tu da-l spawneaza sau pune-l sa-l spawneze direct dupa ce il conecteaza

Am rezolvat problema,mersi oricum!(a durat ceva...dar a meritat)

Edited by rpg

giphy.gif.418e22646746f7065f229917bd9fae15.gif

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

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

Guest
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

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.