We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FCNPC_Stop(botid); FCNPC_DestroyMovePath(curPath); FCNPC_GoByMovePath(botid, newPath, ...);
new fnpcid,VehicleID; fnpcid = FCNPC_Create(stinnpc); FCNPC_Spawn(fnpcid,191,0.0,0.0,0.0); VehicleID = AddStaticVehicleEx(451,0, 0, 0,0,-1,-1,-1); FCNPC_EnterVehicle(fnpcid,VehicleID,1,FCNPC_MOVE_T YPE_SPRINT);//Step 1 Enter the car if (strcmp("/crash1", cmdtext, true, 10) == 0) { if(FCNPC_GetVehicleID(fnpcid) != 65535) { SetVehicleToRespawn(VehicleID);//Step 2 removal of vehicles FCNPC_GoToPlayer(fnpcid,playerid,FCNPC_MOVE_TYPE_S PRINT,FCNPC_MOVE_SPEED_AUTO,false,0.0,true,-1.0,1.5,250);//Step 3 action } } if (strcmp("/crash2", cmdtext, true, 10) == 0) { if(FCNPC_GetVehicleID(fnpcid) != 65535) { SetVehicleToRespawn(VehicleID);//Step 2 removal of vehicles FCNPC_Stop(fnpcid);//Step 3 action } } if (strcmp("/crash3", cmdtext, true, 10) == 0) { if(FCNPC_GetVehicleID(fnpcid) != 65535) { SetVehicleToRespawn(VehicleID);//Step 2 removal of vehicles FCNPC_GoTo(fnpcid,3,5,2,FCNPC_MOVE_TYPE_SPRINT,FCN PC_MOVE_SPEED_AUTO,false,0.0,true,0.0,250);//Step 3 action } } //No FCNPC_ExitVehicle will collapse
The text was updated successfully, but these errors were encountered:
Can't reproduce the crashes. First one should be fixed in c337580
Sorry, something went wrong.
No branches or pull requests
1
2
The text was updated successfully, but these errors were encountered: