[Help FCNPC 2.0] FCNPC_StartPlayingPlayback dont work
#1

hello guys, could someone tell me how to start a recording in FCNPC 2.0? (callbacks, native, etc)

I have this code but dont work:

PHP код:
public OnGameModeInit()
{
    
bot19 FCNPC_Create("Cristiano");
    
printf("Cristiano: %i"bot19);
    
FCNPC_Spawn(bot19Mechanicid[random(4)], -77.0284,-1200.1984,2.3811);
    
FCNPC_SetInvulnerable(bot19true);
     
SetPlayerColor(bot19,color_MECHANIC);
    
SetTimer("FCNPC_OnVehicleEntryComplete"500false);
    
FCNPC_StartPlayingPlayback(bot19"Kanjo1");
return 
1;
}
public 
FCNPC_OnVehicleEntryComplete(npcidvehicleidseatid)
{
    
FCNPC_EnterVehicle(bot19800);
return 
1;

Reply
#2

Quote:
Originally Posted by bookknp
Посмотреть сообщение
hello guys, could someone tell me how to start a recording in FCNPC 2.0? (callbacks, native, etc)

I have this code but dont work:

PHP код:
public OnGameModeInit()
{
    
bot19 FCNPC_Create("Cristiano");
    
printf("Cristiano: %i"bot19);
    
FCNPC_Spawn(bot19Mechanicid[random(4)], -77.0284,-1200.1984,2.3811);
    
FCNPC_SetInvulnerable(bot19true);
     
SetPlayerColor(bot19,color_MECHANIC);
    
SetTimer("FCNPC_OnVehicleEntryComplete"500false);
    
FCNPC_StartPlayingPlayback(bot19"Kanjo1");
return 
1;
}
public 
FCNPC_OnVehicleEntryComplete(npcidvehicleidseatid)
{
    
FCNPC_EnterVehicle(bot19800);
return 
1;

Can someone help me?? BUMP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)