|
|
#31 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2007
Location: Western Germany
Posts: 2,911
Reputation: 633
|
Yep, I didnt consider any deaths in it. Youll probably need to restart the playback when the npc respawned, e.g. by calling OnNPCFinishPlayback manually.
Also heres an example code i just PMed someone, to fix the problems with NPCs not moving after spawn: pawn Code:
|
|
|
|
|
|
#32 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2010
Posts: 545
Reputation: 42
|
Why when i get near the NPC it reaches the target and stops? It's pretty annoying.
Also, when I change the weapon id 22 to another one, it keeps placing the id 22 instead of the new one. I tried deleting all the recording files but still. |
|
|
|
|
|
#33 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Aug 2009
Posts: 409
Reputation: 3
|
not working, script sends in chat to many msgs RNPC 001 or what.
|
|
|
|
|
|
#34 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 73
Reputation: 5
|
does this need a record file to work?
|
|
|
|
|
|
#35 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 73
Reputation: 5
|
worked for me but when i add second npc it doesn't move then it leaves server(timeout) after some time.
|
|
|
|
|
|
#36 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2007
Location: Western Germany
Posts: 2,911
Reputation: 633
|
|
|
|
|
|
|
#37 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2011
Location: Europe, Croatia
Posts: 363
Reputation: 66
|
When I increase MAX_RNPC_POLICE and try to compile my gamemode I get this error:
error 052: multi-dimensional arrays must be fully initialized How can I fix this? |
|
|
|
|
|
#38 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2007
Location: Western Germany
Posts: 2,911
Reputation: 633
|
You need to fill this array
pawn Code:
and add/remove more {-1, -1, 0.0, 0.0, 0.0, 0, 0, -1} until it got the correct size. I was too lazy to hook a init function that fills the array automaitcally
|
|
|
|
|
|
#39 | |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2011
Location: Europe, Croatia
Posts: 363
Reputation: 66
|
Quote:
![]() I may have some more questions soon :P EDIT: With using this include my gamemode timers are not started for example: SetTimer("Hi", 3000, false); |
|
|
|
|
|
|
#40 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: INDIA !!! :)) Punjab
Posts: 1,088
Reputation: 107
|
oh now i finaly understood its one of use :P
one again great work Mauzen
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Npc programming a police officer | slymatt | Help Archive | 19 | 30/07/2011 03:06 AM |
| argonath RPG police officer job | sandisk125 | Help Archive | 10 | 19/11/2010 10:04 AM |
| [FilterScript] [FS] Police Officer Job | refshal | Filterscripts | 13 | 18/12/2009 09:09 PM |
| How to make myself a police officer? | Jordan69 | Help Archive | 7 | 03/08/2009 02:31 AM |