Help with compiling an NPC Script ,Please!
#6

Quote:
Originally Posted by WrathOfGenesis
Посмотреть сообщение
Is the NPC disconnecting from your server? If so, you might need to bypass any login scripts you have

Use the following at the top of OnPlayerConnect, OnPlayerSpawn (after putting the NPC in a vehicle) and on OnPlayerRequestSpawn:

pawn Код:
if ( IsPlayerNPC ( playerid ) )
{
    return 1;
}
the car spawns(at center of map) but there's no NPC inside it
log:
Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[01:25:57] 
[01:25:57] Server Plugins
[01:25:57] --------------
[01:25:57]  Loading plugin: mysql.so
[01:25:58]  >> plugin.mysql: R38 successfully loaded.
[01:25:58]   Loaded.
[01:25:58]  Loading plugin: sscanf.so
[01:25:58] 

[01:25:58]  ===============================

[01:25:58]       sscanf plugin loaded.     

[01:25:58]          Version:  2.8.1        

[01:25:58]    © 2012 Alex "******" Cole  

[01:25:58]  ===============================

[01:25:58]   Loaded.
[01:25:58]  Loading plugin: streamer.so
[01:25:58] 

*** Streamer Plugin v2.7.9 by Incognito loaded ***

[01:25:58]   Loaded.
[01:25:58]  Loaded 3 plugins.

[01:25:58] 
[01:25:58] Ban list
[01:25:58] --------
[01:25:58]  Loaded: samp.ban
[01:25:58] 
[01:25:58] 
[01:25:58] Filterscripts
[01:25:58] ---------------
[01:25:58]   Loading filterscript 'speedometer.amx'...
[01:25:58] --- Speedometer by: LINKINPARK ---
[01:25:58]   Loading filterscript 'playall.amx'...
[01:25:58]   Unable to load filterscript 'playall.amx'.
[01:25:58]   Loading filterscript 'RAce.amx'...
[01:25:58]   Loading filterscript 'AdmBot.amx'...
[01:25:58] AdmBot NPC
[01:25:58]   Loaded 3 filterscripts.

[01:25:58] Turfs: 48
[01:25:58] 162 - Objects.
[01:25:58] 17 - Pickups.
[01:25:58] OnGameModeInit Loaded
[01:25:58] Script loaded - s4uriK RPG Romania 1.00.40
[01:25:58] Number of vehicle models: 123
[01:25:58] Houses: 101
[01:25:58] Bussines: 54
[01:25:58] Dynamic Factions: 14
[01:25:58] Clans: 4
[01:25:58] Cars: 24
[01:25:58] Stocks: 101
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)