Robbery include...
#1

Can anyone show me an example of how i can use the robbery include?? because i am a bit confused..
Reply
#2

I guess,

It adds NPC(s) in 24/7 store, As i opened pastebin it shows something like when you point at him the NPC ducks etc.

To add NPC:-
Код:
 AddRobNPC(skin, Float:x, Float:y, Float:z, Float:ang, worldid, interiorid, minvalreceived, maxvalreceived)
I never tested or used this though .
Reply
#3

I actually thought the same thing but i dont really think its only on 24/7 store... you can use him everywhere i guess.. anyway addrobnpc on gamemodeinit callback right? i used it there but the npc doesnt spawn in-game... worldid must be 0?
Reply
#4

Yes maybe worldid 0, I never tested it brother.

And yeah, I noticed we can add him/her anywhere, But common func is that when we point at him/her he/she ducks herself and idk maybe giving money too.
Reply
#5

ye but he doesnt spawn in game .. does it need both plugins rnpc/fcnpc ?
EDIT: as i noticed on v1.2 it needs only rnpc.. but anyway it doesn't connect any npc?
Reply
#6

Yes, Try using plugin if he provided that inside his download pack.
Reply
#7

Already did but same problem pff
Reply
#8

Quote:
Originally Posted by vassilis
Посмотреть сообщение
Already did but same problem pff
Show your

Код:
 AddRobNPC(skin, Float:x, Float:y, Float:z, Float:ang, worldid, interiorid, minvalreceived, maxvalreceived)
Reply
#9

pawn Код:
AddRobNPC(164, 373.825653, -117.270904, 1001.499511, 269.1425, 0, 5, 2500, 6780);
Reply
#10

Your going to have to take certain aspects into account as soon as you introduce NPCs such as making sure some player loops don't check NPCs etc.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)