19.05.2012, 06:56
Okay, I made an NPC yesterday called "GroveStreetBoss" with connecting name " [BOSS]Grove". It was working perfectly.
Now, today I made ANOTHER NPC called " BallaBoss" with connecting name "[BOSS]Balla".
Now the problem is:
I have a command /loadbots for admins to load the [BOSS]'s. Here it is:
I do /loadbots and the samp-server.exe closes.
The log file is here:
Here's my npcmodes folder: http://www.mediafire.com/download.php?4hzsz59wmz99sad
Now, today I made ANOTHER NPC called " BallaBoss" with connecting name "[BOSS]Balla".
Now the problem is:
I have a command /loadbots for admins to load the [BOSS]'s. Here it is:
pawn Код:
CMD:loadbots(playerid,params[])
{
if(IsPlayerAdmin(playerid))
{
ConnectNPC("[BOSS]Balla", "BallaBoss");
ConnectNPC("[BOSS]Grove", "GroveStreetBoss");
SendClientMessage(playerid, GREEN, "Bots loaded successfully! ");
}
else return SendClientMessage(playerid, RED, "You need to be an RCON admin to use this command! ");
return 1;
}
I do /loadbots and the samp-server.exe closes.
The log file is here:
Код:
--------------------------------- [12:27:08] Los Santos Gangwars [12:27:08] ---------------------------------- [12:27:08] Number of vehicle models: 12 [12:27:30] Incoming connection: 127.0.0.1:51127 [12:27:30] [join] Gangs_Rocks has joined the server (0:127.0.0.1) [12:27:34] RCON (In-Game): Player #0 (Gangs_Rocks) has logged in. [12:27:42] Incoming connection: 127.0.0.1:51128 [12:27:42] [npc:join] [BOSS]Balla has joined the server (1:127.0.0.1)