Jump to content
  • 0

Bot Generator


Guest DaniSnick

Question

Guest DaniSnick

Am descarcat Bot Generatorul lui DjDeeegu de pe sa-mp.com si imi da niste erori cand am terminat

"C:\Users\Administrator\Desktop\MovieMaker.pwn(496) : error 017: undefined symbol "NPCNAME"
C:\Users\Administrator\Desktop\MovieMaker.pwn(496) : error 036: empty statement
C:\Users\Administrator\Desktop\MovieMaker.pwn(497) : warning 217: loose indentation
C:\Users\Administrator\Desktop\MovieMaker.pwn(686) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
"

Eu la 686 nu vad nici un ; care nu este pus

LA 496  Nu stiu de ce.

La 496 Nu stiu de ce nu recunoaste cuvantul NPCNAME/npcname ca l-am mai folosit si mergea.

Please Help Me.

Deci am mai facut boti...dupa tutorialul vostru si a mers.

Doar ca am vrut sa imi fie mai usor cu programu asta...se pare ca nu.

"C:\Users\Administrator\Desktop\MovieMaker.pwn(497) : warning 217: loose indentation

C:\Users\Administrator\Desktop\MovieMaker.pwn(686) : error 001: expected token: ";", but found "

Ultimele 2 le-am rezolvat.

Dar aceea cu NPCname...nu stiu cum sa fac va rog.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Guest DaniSnick

Posteaza liniile Sa te putem ajuta.

public OnPlayerSpawn(playerid)
{
    if(!IsPlayerNPC(playerid)) return 0;

	new playername[64];
	GetPlayerName(playerid,playername,64);
	return 0;
	}
     if(!strcmp(npcname,"Pilot",true))
    {
        PutPlayerInVehicle(playerid, Rustler, 0); // dont add this when on foot
        SetPlayerSkin(playerid, 55);
}

Link to comment
Share on other sites

public OnPlayerSpawn(playerid)
{
   if(IsPlayerNPC(playerid))
   {
       new npcname[MAX_PLAYER_NAME];
       GetPlayerName(playerid, npcname, sizeof(npcname));
       if(!strcmp(npcname, "NUME", true))
       {
           PutPlayerInVehicle(playerid, Rustler, 0); // dont add this when on foot
           SetPlayerSkin(playerid, 55);
       }
       return 1;
   }
   //restu de linii
   return 1;
}

Incearca asa.

logo.png

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

Link to comment
Share on other sites

Guest DaniSnick

=-" post="27606" timestamp="1267107464"]

public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        if(!strcmp(npcname, "NUME", true))
        {
            PutPlayerInVehicle(playerid, Rustler, 0); // dont add this when on foot
            SetPlayerSkin(playerid, 55);
        }
        return 1;
    }
    //restu de linii
    return 1;
}

Incearca asa.

Mersi Vyorel.

ESTI CEL MAI BUN

MAXIMUM RESPECT.

Altadata tie iti cer ajutoru.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Criaz40k
      Fake Players Sistem
      FPS
      1) Adauga pluginurile in folderul tau de plugins
      2) Copiati fakebots in folderul server-ului.
      3) Adaugati FakeBots.so si core.so in server.cfg
      4) Modificati maxnpc  in server.cfg sa nu fie 0
      5) Trebuie sa aveti folderul npcmodes si in el sa se afle npctest.amx
      7) trebuie sa aveti o versiune noua de streamer: https://github.com/samp-incognito/samp-streamer-plugi ..
      Arhiva contine si aceste lucruri:
      autoonline.txt - Fluctuatia botilor (nu modificati manual!)
      admins.txt - lista de admini care pot modifica botii
      names.txt - Lista de nume pt boti 
      botonrestart.txt - cati boti sa intre pe sv dupa restart
      lvl.txt - Prima linie - level minim la boti, a doua linie - level maxim, botii isi trag level random de aici
      colors.txt - ce culori sa aiba numele la boti in tab
      DOWNLOAD: https://yadi.sk/d/nLZOk7uJ3Be79a .
  • 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.