02.05.2013, 15:47
Add a short delay between setting the two keysets, and at the end, else the whole thing will just be one segment long, and the npc doesnt have the "time" to do anything.
[QUOTE=xDarkuzSx;2507519]yea I use this code:
[QUOTE=xDarkuzSx;2507519]yea I use this code:
pawn Код:
RNPC_CreateBuild(npcid, PLAYER_RECORDING_ONFOOT); // start build mode
RNPC_SetWeaponID(35); // Rocket Laucher
RNPC_SetKeys(128); // <-- this function doesn't work with the rocket laucher..
RNPC_AddPause(10);
RNPC_SetKeys(128 + 4); //and this.
RNPC_AddPause(10);
RNPC_FinishBuild();
RNPC_StartBuildPlayback(npcid);